We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6781167 commit 6f8b3c5Copy full SHA for 6f8b3c5
tgbotapi/types.go
@@ -435,8 +435,8 @@ type KeyboardButton struct {
435
Text string `json:"text"`
436
RequestUsers *KeyboardButtonRequestUsers `json:"request_users,omitempty"`
437
RequestChat *KeyboardButtonRequestChat `json:"request_chat,omitempty"`
438
- RequestContact bool `json:"request_contact"`
439
- RequestLocation bool `json:"request_location"`
+ RequestContact bool `json:"request_contact,omitempty"`
+ RequestLocation bool `json:"request_location,omitempty"`
440
RequestPoll *KeyboardButtonPollType `json:"request_poll,omitempty"`
441
Webapp *WebAppInfo `json:"web_app,omitempty"`
442
}
0 commit comments