-
Notifications
You must be signed in to change notification settings - Fork 0
/
keyboard_button_request_chat.go
executable file
·21 lines (19 loc) · 1.29 KB
/
keyboard_button_request_chat.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code AutoGenerated; DO NOT EDIT.
package types
// KeyboardButtonRequestChat This object defines the criteria used to request a suitable chat
// Information about the selected chat will be shared with the bot when the corresponding button is pressed
// The bot will be granted requested rights in the chat if appropriate
// More about requesting chats ».
type KeyboardButtonRequestChat struct {
BotAdministratorRights *ChatAdministratorRights `json:"bot_administrator_rights,omitempty"`
BotIsMember bool `json:"bot_is_member,omitempty"`
ChatHasUsername bool `json:"chat_has_username,omitempty"`
ChatIsChannel bool `json:"chat_is_channel"`
ChatIsCreated bool `json:"chat_is_created,omitempty"`
ChatIsForum bool `json:"chat_is_forum,omitempty"`
RequestID int64 `json:"request_id"`
RequestPhoto bool `json:"request_photo,omitempty"`
RequestTitle bool `json:"request_title,omitempty"`
RequestUsername bool `json:"request_username,omitempty"`
UserAdministratorRights *ChatAdministratorRights `json:"user_administrator_rights,omitempty"`
}