Class: TD::Types::ReplyMarkup::ShowKeyboard
- Inherits:
-
TD::Types::ReplyMarkup
- Object
- Dry::Struct
- Base
- TD::Types::ReplyMarkup
- TD::Types::ReplyMarkup::ShowKeyboard
- Defined in:
- lib/tdlib/types/reply_markup/show_keyboard.rb
Overview
Contains a custom keyboard layout to quickly reply to bots.
Instance Attribute Summary collapse
-
#is_personal ⇒ Boolean
True, if the keyboard must automatically be shown to the current user.
-
#one_time ⇒ Boolean
True, if the client needs to hide the keyboard after use.
-
#resize_keyboard ⇒ Boolean
True, if the client needs to resize the keyboard vertically.
-
#rows ⇒ Array<Array<TD::Types::KeyboardButton>>
A list of rows of bot keyboard buttons.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_personal ⇒ Boolean
True, if the keyboard must automatically be shown to the current user. For outgoing messages, specify true to show the keyboard only for the mentioned users and for the target user of a reply.
10 11 12 |
# File 'lib/tdlib/types/reply_markup/show_keyboard.rb', line 10 def is_personal @is_personal end |
#one_time ⇒ Boolean
True, if the client needs to hide the keyboard after use.
10 11 12 |
# File 'lib/tdlib/types/reply_markup/show_keyboard.rb', line 10 def one_time @one_time end |
#resize_keyboard ⇒ Boolean
True, if the client needs to resize the keyboard vertically.
10 11 12 |
# File 'lib/tdlib/types/reply_markup/show_keyboard.rb', line 10 def resize_keyboard @resize_keyboard end |
#rows ⇒ Array<Array<TD::Types::KeyboardButton>>
A list of rows of bot keyboard buttons.
10 11 12 |
# File 'lib/tdlib/types/reply_markup/show_keyboard.rb', line 10 def rows @rows end |