Tourmaline::WriteAccessAllowed
Inherits JSON::Serializable < Reference < Object
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.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess
from_request?
Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess
web_app_name
Optional. Name of the Web App, if the access was granted when the Web App was launched from a link