mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-03-30 11:30:12 +03:00
Add omitempty flag to InfoRequest.Avatar
This commit is contained in:
parent
a917003a6f
commit
fb1ec00bc9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue