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
-
#query ⇒ TD::Types::String
Inline query to be sent to the bot.
-
#target_chat ⇒ TD::Types::TargetChat
Target chat from which to send the inline query.
Method Summary
Methods inherited from Base
Instance Attribute Details
#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 |
#target_chat ⇒ TD::Types::TargetChat
Target chat from which to send the inline query.
6 7 8 |
# File 'lib/tdlib/types/inline_keyboard_button_type/switch_inline.rb', line 6 def target_chat @target_chat end |