class Tourmaline::WriteAccessAllowed
- Tourmaline::WriteAccessAllowed
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(from_request : Bool | Nil = nil, web_app_name : String | Nil = nil, from_attachment_menu : Bool | Nil = nil)
Instance Method Summary
-
#from_attachment_menu=(from_attachment_menu : Bool | Nil)
Optional.
-
#from_attachment_menu? : Bool | Nil
Optional.
-
#from_request=(from_request : Bool | Nil)
Optional.
-
#from_request? : Bool | Nil
Optional.
-
#web_app_name : String | Nil
Optional.
-
#web_app_name=(web_app_name : String | Nil)
Optional.
Constructor Detail
Instance Method Detail
Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess
Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess
Optional. Name of the Web App, if the access was granted when the Web App was launched from a link
Optional. Name of the Web App, if the access was granted when the Web App was launched from a link