Class: TD::Types::KeyboardButton
- Defined in:
- lib/tdlib/types/keyboard_button.rb
Overview
Represents a single button in a bot keyboard.
Instance Attribute Summary collapse
-
#text ⇒ TD::Types::String
Text of the button.
-
#type ⇒ TD::Types::KeyboardButtonType
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/keyboard_button.rb', line 6 def text @text end |
#type ⇒ TD::Types::KeyboardButtonType
Type of the button.
6 7 8 |
# File 'lib/tdlib/types/keyboard_button.rb', line 6 def type @type end |