tgbot-cpp
Loading...
Searching...
No Matches
WriteAccessAllowed.h
Go to the documentation of this file.
1#ifndef TGBOT_WRITEACCESSALLOWED_H
2#define TGBOT_WRITEACCESSALLOWED_H
3
4#include <memory>
5#include <string>
6
7namespace TgBot {
8
15public:
16 typedef std::shared_ptr<WriteAccessAllowed> Ptr;
17
22
26 std::string webAppName;
27
32};
33}
34
35#endif //TGBOT_WRITEACCESSALLOWED_H
This object represents a service message about a user allowing a bot to write messages after adding i...
bool fromRequest
Optional. True, if the access was granted after the user accepted an explicit request from a Web App ...
std::string webAppName
Optional. Name of the Web App, if the access was granted when the Web App was launched from a link.
bool fromAttachmentMenu
Optional. True, if the access was granted when the bot was added to the attachment or side menu.
std::shared_ptr< WriteAccessAllowed > Ptr
Definition Api.h:40