class Tourmaline::WebAppData

Overview

Describes data sent from a Web App to the bot.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : String, button_text : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

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.


[View source]
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.


[View source]
def data : String #

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


[View source]
def data=(data : String) #

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


[View source]