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