Class: Telegrammer::DataTypes::ReplyKeyboardHide
- Defined in:
- lib/telegrammer/data_types/reply_keyboard_hide.rb
Overview
Telegram ReplyKeyboardHide data type
See more at core.telegram.org/bots/api#replykeyboardhide
Instance Attribute Summary collapse
-
#hide_keyboard ⇒ Boolean
Requests clients to hide the custom keyboard.
-
#selective ⇒ Boolean
Optional.
Instance Attribute Details
#hide_keyboard ⇒ Boolean
Requests clients to hide the custom keyboard
9 10 11 |
# File 'lib/telegrammer/data_types/reply_keyboard_hide.rb', line 9 def hide_keyboard @hide_keyboard end |
#selective ⇒ Boolean
Optional. Use this parameter if you want to hide keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot’s message is a reply (has reply_to_message_id), sender of the original message.
9 10 11 |
# File 'lib/telegrammer/data_types/reply_keyboard_hide.rb', line 9 def selective @selective end |