فهرست منبع

Add Icon channel field (#531)

tsudoko 7 سال پیش
والد
کامیت
aad0e0b32a
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  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"`