mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-22 04:46:05 +03:00
Merge pull request #11 from blide/master
Add omitempty flag to InfoRequest.Avatar
This commit is contained in:
commit
1ece05189c
@ -148,7 +148,7 @@ type (
|
|||||||
|
|
||||||
InfoRequest struct {
|
InfoRequest struct {
|
||||||
Name string `url:"name,omitempty" json:"name"`
|
Name string `url:"name,omitempty" json:"name"`
|
||||||
Avatar string `url:"avatar_url,omitempty" json:"avatar_url"`
|
Avatar string `url:"avatar_url,omitempty" json:"avatar_url,omitempty"`
|
||||||
Roles []string `url:"roles,omitempty" json:"roles"`
|
Roles []string `url:"roles,omitempty" json:"roles"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user