mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36:05 +03:00
Add omitempty flag to InfoRequest.Avatar
This commit is contained in:
parent
a917003a6f
commit
fb1ec00bc9
@ -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