tgbot-cpp
Loading...
Searching...
No Matches
ForceReply.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_FORCEREPLY_H
2#define TGBOT_CPP_FORCEREPLY_H
3
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
29class ForceReply : public GenericReply {
30
31public:
32 typedef std::shared_ptr<ForceReply> Ptr;
33
37 const bool forceReply = true;
38
43
48 bool selective = false;
49};
50}
51
52#endif //TGBOT_CPP_FORCEREPLY_H
Upon receiving a message with this object, Telegram clients will display a reply interface to the use...
Definition ForceReply.h:29
std::string inputFieldPlaceholder
Optional. The placeholder to be shown in the input field when the reply is active; 1-64 characters.
Definition ForceReply.h:42
std::shared_ptr< ForceReply > Ptr
Definition ForceReply.h:32
const bool forceReply
Shows reply interface to the user, as if they manually selected the bot's message and tapped 'Reply'.
Definition ForceReply.h:37
bool selective
Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users t...
Definition ForceReply.h:48
This abstract class is base of all keyboard related events.
Definition Api.h:39