1
0
mirror of synced 2024-11-25 06:26:03 +03:00

add avatar url in channel settings

This commit is contained in:
DmitryZagorulko 2019-01-31 17:10:51 +03:00
parent 9634ccb674
commit ef8efa7354

View File

@ -57,10 +57,11 @@ type MgClient struct {
// Channel type
type Channel struct {
ID uint64 `json:"id,omitempty"`
Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
Settings ChannelSettings `json:"settings,omitempty,brackets"`
ID uint64 `json:"id,omitempty"`
Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
AvatarUrl string `json:"avatar_url,omitempty"`
Settings ChannelSettings `json:"settings,omitempty,brackets"`
}
// ChannelSettings struct