telegram.keyboardbutton module¶
This module contains an object that represents a Telegram KeyboardButton.
Bases:
telegram.base.TelegramObjectThis object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button.
Parameters: - text (str) –
- request_location (Optional[bool]) –
- request_contact (Optional[bool]) –