class

TelegramBot::SwitchInlineQueryChosenChat

Inherits JSON::Serializable < Reference < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, query : String | Nil = nil, allow_user_chats : Bool | Nil = nil, allow_bot_chats : Bool | Nil = nil, allow_group_chats : Bool | Nil = nil, allow_channel_chats : Bool | Nil = nil)
Source

Instance methods

allow_bot_chats=(allow_bot_chats : Bool | Nil)
Source
allow_bot_chats?
Source
allow_channel_chats=(allow_channel_chats : Bool | Nil)
Source
allow_channel_chats?
Source
allow_group_chats=(allow_group_chats : Bool | Nil)
Source
allow_group_chats?
Source
allow_user_chats=(allow_user_chats : Bool | Nil)
Source
allow_user_chats?
Source
query
Source
query=(query : String | Nil)
Source