Browse Source

Add Icon channel field (#531)

tsudoko 7 years ago
parent
commit
aad0e0b32a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      structs.go

+ 3 - 0
structs.go

@@ -216,6 +216,9 @@ type Channel struct {
 	// Whether the channel is marked as NSFW.
 	NSFW bool `json:"nsfw"`
 
+	// Icon of the group DM channel.
+	Icon string `json:"icon"`
+
 	// The position of the channel, used for sorting in client.
 	Position int `json:"position"`