telegram.replykeyboardremove module¶
This module contains an object that represents a Telegram ReplyKeyboardRemove.
-
class
telegram.replykeyboardremove.ReplyKeyboardHide¶ Bases:
object
-
class
telegram.replykeyboardremove.ReplyKeyboardRemove(selective=False, **kwargs)¶ Bases:
telegram.replymarkup.ReplyMarkupThis object represents a Telegram ReplyKeyboardRemove.
-
remove_keyboard¶ bool – Always True.
-
selective¶ bool
Parameters: - selective (Optional[bool]) –
Use this parameter if you want to remove the keyboard for specific users only. Targets:
- users that are @mentioned in the text of the Message object;
- if the bot’s message is a reply (has reply_to_message_id), sender of the
- original message.
- **kwargs – Arbitrary keyword arguments.
-
static
de_json(data, bot)¶ Parameters: - data (dict) –
- bot (telegram.Bot) –
Returns: telegram.ReplyKeyboardRemove
-