Telebot  4.7.0
Library for Telegram bot API
Public Attributes | List of all members
telebot_force_reply Struct Reference

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

#include <telebot-types.h>

Public Attributes

bool force_reply
 
bool selective
 

Detailed Description

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.

Member Data Documentation

◆ force_reply

bool telebot_force_reply::force_reply

Shows reply interface to the user, as if they manually selected the bot's message and tapped 'Reply'

◆ selective

bool telebot_force_reply::selective

Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are 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.


The documentation for this struct was generated from the following file: