1#ifndef TGBOT_WRITEACCESSALLOWED_H 
    2#define TGBOT_WRITEACCESSALLOWED_H 
   16    typedef std::shared_ptr<WriteAccessAllowed> 
Ptr;
 
 
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