Class: TD::Types::InlineKeyboardButtonType::SwitchInline
- Inherits:
-
TD::Types::InlineKeyboardButtonType
- Object
- Dry::Struct
- Base
- TD::Types::InlineKeyboardButtonType
- TD::Types::InlineKeyboardButtonType::SwitchInline
- Defined in:
- lib/tdlib/types/inline_keyboard_button_type/switch_inline.rb
Overview
A button that forces an inline query to the bot to be inserted in the input field.
Instance Attribute Summary collapse
-
#in_current_chat ⇒ Boolean
True, if the inline query should be sent from the current chat.
-
#query ⇒ TD::Types::String
Inline query to be sent to the bot.
Method Summary
Methods inherited from Base
Instance Attribute Details
#in_current_chat ⇒ Boolean
True, if the inline query should be sent from the current chat.
6 7 8 |
# File 'lib/tdlib/types/inline_keyboard_button_type/switch_inline.rb', line 6 def in_current_chat @in_current_chat end |
#query ⇒ TD::Types::String
Inline query to be sent to the bot.
6 7 8 |
# File 'lib/tdlib/types/inline_keyboard_button_type/switch_inline.rb', line 6 def query @query end |