Add omitempty to optional fields
This commit is contained in:
parent
7d82083b03
commit
45f563879f
2 changed files with 1 additions and 2 deletions
2
types.go
2
types.go
|
@ -1356,7 +1356,7 @@ type WriteAccessAllowed struct {
|
|||
//Name of the Web App which was launched from a link
|
||||
//
|
||||
// Optional
|
||||
WebAppName string `json:"web_app_name"`
|
||||
WebAppName string `json:"web_app_name,omitempty"`
|
||||
}
|
||||
|
||||
// VideoChatScheduled represents a service message about a voice chat scheduled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue