class Tourmaline::WebAppData
- Tourmaline::WebAppData
- Reference
- Object
Overview
Describes data sent from a Web App to the bot.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#button_text : String
Text of the web_app keyboard button from which the Web App was opened.
-
#button_text=(button_text : String)
Text of the web_app keyboard button from which the Web App was opened.
-
#data : String
The data.
-
#data=(data : String)
The data.
Constructor Detail
Instance Method Detail
def button_text : String
#
Text of the web_app keyboard button from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.
def button_text=(button_text : String)
#
Text of the web_app keyboard button from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.
def data=(data : String)
#
The data. Be aware that a bad client can send arbitrary data in this field.