Class: Telegram::Bot::Types::ReplyKeyboardMarkup
- Defined in:
- sig/telegram/bot/types/reply_keyboard_markup.rbs
Instance Attribute Summary collapse
-
#input_field_placeholder ⇒ String?
readonly
Returns the value of attribute input_field_placeholder.
-
#is_persistent ⇒ Boolean
readonly
Returns the value of attribute is_persistent.
-
#keyboard ⇒ Array[Array[KeyboardButton]]
readonly
Returns the value of attribute keyboard.
-
#one_time_keyboard ⇒ Boolean
readonly
Returns the value of attribute one_time_keyboard.
-
#resize_keyboard ⇒ Boolean
readonly
Returns the value of attribute resize_keyboard.
-
#selective ⇒ Boolean?
readonly
Returns the value of attribute selective.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#input_field_placeholder ⇒ String? (readonly)
Returns the value of attribute input_field_placeholder.
12 13 14 |
# File 'sig/telegram/bot/types/reply_keyboard_markup.rbs', line 12 def input_field_placeholder @input_field_placeholder end |
#is_persistent ⇒ Boolean (readonly)
Returns the value of attribute is_persistent.
9 10 11 |
# File 'sig/telegram/bot/types/reply_keyboard_markup.rbs', line 9 def is_persistent @is_persistent end |
#keyboard ⇒ Array[Array[KeyboardButton]] (readonly)
Returns the value of attribute keyboard.
8 9 10 |
# File 'sig/telegram/bot/types/reply_keyboard_markup.rbs', line 8 def keyboard @keyboard end |
#one_time_keyboard ⇒ Boolean (readonly)
Returns the value of attribute one_time_keyboard.
11 12 13 |
# File 'sig/telegram/bot/types/reply_keyboard_markup.rbs', line 11 def one_time_keyboard @one_time_keyboard end |
#resize_keyboard ⇒ Boolean (readonly)
Returns the value of attribute resize_keyboard.
10 11 12 |
# File 'sig/telegram/bot/types/reply_keyboard_markup.rbs', line 10 def resize_keyboard @resize_keyboard end |
#selective ⇒ Boolean? (readonly)
Returns the value of attribute selective.
13 14 15 |
# File 'sig/telegram/bot/types/reply_keyboard_markup.rbs', line 13 def selective @selective end |
Class Method Details
.new(keyboard:, is_persistent:, resize_keyboard:, one_time_keyboard:, input_field_placeholder:, selective:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/reply_keyboard_markup.rbs', line 6
def self.new: (keyboard: Array[Array[KeyboardButton]], ?is_persistent: bool, ?resize_keyboard: bool, ?one_time_keyboard: bool, ?input_field_placeholder: String, ?selective: bool) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|