Browse Source

Add NSFW channel field (#419)

tsudoko 7 năm trước cách đây
mục cha
commit
55d995899e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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"`