class

Tourmaline::WebAppData

Inherits JSON::Serializable / Reference / Object

Describes data sent from a Web App to the bot.

Constructors

new(data : String, button_text : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

button_text

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.

Source
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.

Source
data

The data. Be aware that a bad client can send arbitrary data in this field.

Source
data=(data : String)

The data. Be aware that a bad client can send arbitrary data in this field.

Source