Class: TD::Types::InlineKeyboardButton
- Defined in:
- lib/tdlib/types/inline_keyboard_button.rb
Overview
Represents a single button in an inline keyboard.
Instance Attribute Summary collapse
-
#text ⇒ TD::Types::String
Text of the button.
-
#type ⇒ TD::Types::InlineKeyboardButtonType
Type of the button.
Method Summary
Methods inherited from Base
Instance Attribute Details
#text ⇒ TD::Types::String
Text of the button.
6 7 8 |
# File 'lib/tdlib/types/inline_keyboard_button.rb', line 6 def text @text end |
#type ⇒ TD::Types::InlineKeyboardButtonType
Type of the button.
6 7 8 |
# File 'lib/tdlib/types/inline_keyboard_button.rb', line 6 def type @type end |