ForceReply

class aiogram.types.force_reply.ForceReply(conf: Optional[Dict[str, Any]] = None, **kwargs: Any)[source]

Bases: aiogram.types.base.TelegramObject

Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot’s message and tapped ‘Reply’). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode.

https://core.telegram.org/bots/api#forcereply

Deserialize object

Parameters
  • conf

  • kwargs

classmethod create(input_field_placeholder: Optional[aiogram.types.base.String] = None, selective: Optional[aiogram.types.base.Boolean] = None)aiogram.types.force_reply.ForceReply[source]

Create new force reply

Parameters
  • selective

  • input_field_placeholder

Returns