From ef8efa7354337fd35691f62c13b6d8bbb91802f4 Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Thu, 31 Jan 2019 17:10:51 +0300 Subject: [PATCH] add avatar url in channel settings --- v1/types.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/v1/types.go b/v1/types.go index fe812f8..2ca2309 100644 --- a/v1/types.go +++ b/v1/types.go @@ -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