class
Hamilton::Types::SwitchInlineQueryChosenChat
- Hamilton::Types::SwitchInlineQueryChosenChat
- Reference
- Object
Overview
This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/swith_online_query_chosen_chat.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#allow_bot_chats : Bool | Nil
True, if private chats with bots can be chosen.
-
#allow_bot_chats=(allow_bot_chats : Bool | Nil)
True, if private chats with bots can be chosen.
-
#allow_channel_chats : Bool | Nil
True, if channel chats can be chosen.
-
#allow_channel_chats=(allow_channel_chats : Bool | Nil)
True, if channel chats can be chosen.
-
#allow_group_chats : Bool | Nil
True, if group and supergroup chats can be chosen.
-
#allow_group_chats=(allow_group_chats : Bool | Nil)
True, if group and supergroup chats can be chosen.
-
#allow_user_chats : Bool | Nil
True, if private chats with users can be chosen.
-
#allow_user_chats=(allow_user_chats : Bool | Nil)
True, if private chats with users can be chosen.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#query : String | Nil
The default inline query to be inserted in the input field.
-
#query=(query : String | Nil)
The default inline query to be inserted in the input field.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
True, if private chats with bots can be chosen.
True, if group and supergroup chats can be chosen.
True, if private chats with users can be chosen.
The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted.
The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted.