1
0
mirror of synced 2024-11-22 04:56:06 +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 // Channel type
type Channel struct { type Channel struct {
ID uint64 `json:"id,omitempty"` ID uint64 `json:"id,omitempty"`
Type string `json:"type,omitempty"` Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`
Settings ChannelSettings `json:"settings,omitempty,brackets"` AvatarUrl string `json:"avatar_url,omitempty"`
Settings ChannelSettings `json:"settings,omitempty,brackets"`
} }
// ChannelSettings struct // ChannelSettings struct