add avatar url in channel settings
This commit is contained in:
parent
9634ccb674
commit
ef8efa7354
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user