소스 검색

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"`