瀏覽代碼

Add NSFW channel field (#419)

tsudoko 7 年之前
父節點
當前提交
55d995899e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      structs.go

+ 1 - 0
structs.go

@@ -166,6 +166,7 @@ type Channel struct {
 	Topic                string                 `json:"topic"`
 	Type                 ChannelType            `json:"type"`
 	LastMessageID        string                 `json:"last_message_id"`
+	NSFW                 bool                   `json:"nsfw"`
 	Position             int                    `json:"position"`
 	Bitrate              int                    `json:"bitrate"`
 	Recipients           []*User                `json:"recipient"`