This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.
More...
#include <Types.h>
|
| std::optional< bool > | fromRequest { } |
| | Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess.
|
| std::optional< std::string > | webAppName { } |
| | Optional. Name of the Web App, if the access was granted when the Web App was launched from a link.
|
| std::optional< bool > | fromAttachmentMenu { } |
| | Optional. True, if the access was granted when the bot was added to the attachment or side menu.
|
This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.
Definition at line 15422 of file Types.h.
◆ Ptr
◆ fromAttachmentMenu
| std::optional<bool> TgBot::WriteAccessAllowed::fromAttachmentMenu { } |
Optional. True, if the access was granted when the bot was added to the attachment or side menu.
Definition at line 15441 of file Types.h.
◆ fromRequest
| std::optional<bool> TgBot::WriteAccessAllowed::fromRequest { } |
Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess.
Definition at line 15429 of file Types.h.
◆ webAppName
| std::optional<std::string> TgBot::WriteAccessAllowed::webAppName { } |
Optional. Name of the Web App, if the access was granted when the Web App was launched from a link.
Definition at line 15435 of file Types.h.
The documentation for this struct was generated from the following file: