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.ReplyMarkup

This 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:

    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.
  • **kwargs – Arbitrary keyword arguments.
static de_json(data, bot)
Parameters:
Returns:

telegram.ReplyKeyboardRemove