class
TelegramBot::SwitchInlineQueryChosenChat
- TelegramBot::SwitchInlineQueryChosenChat
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/switch_inline_query_chosen_chat.crConstructors
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .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)
Instance Method Summary
- #allow_bot_chats=(allow_bot_chats : Bool | Nil)
- #allow_bot_chats? : Bool | Nil
- #allow_channel_chats=(allow_channel_chats : Bool | Nil)
- #allow_channel_chats? : Bool | Nil
- #allow_group_chats=(allow_group_chats : Bool | Nil)
- #allow_group_chats? : Bool | Nil
- #allow_user_chats=(allow_user_chats : Bool | Nil)
- #allow_user_chats? : Bool | Nil
- #query : String | Nil
- #query=(query : String | Nil)
Constructor Detail
def self.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)
#