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

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

Return type:

telegram.ForceReply