telegram.forcereply module¶
This module contains an object that represents a Telegram ForceReply.
-
class
telegram.forcereply.ForceReply(force_reply=True, selective=False, **kwargs)¶ Bases:
telegram.replymarkup.ReplyMarkupThis object represents a Telegram ForceReply.
-
force_reply¶ bool
-
selective¶ bool
Parameters: - force_reply (bool) –
- selective (Optional[bool]) –
- **kwargs (dict) – Arbitrary keyword arguments.
-
static
de_json(data, bot)¶ Parameters: - data (dict) –
- bot (telegram.Bot) –
Returns: Return type:
-