Tourmaline::MenuButtonWebApp
Inherits JSON::Serializable / Reference / Object
Represents a menu button, which launches a Web App.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
web_app
Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery.
web_app=(web_app : Tourmaline::WebAppInfo)
Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery.