class WebAppData

Describes data sent from a Web App to the bot.

Methods

__construct(string $data, string $button_text)

No description

string
getData()

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

string
getButtonText()

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.

Details

at line 14
__construct(string $data, string $button_text)

No description

Parameters

string $data
string $button_text

at line 23
string getData()

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

Return Value

string

at line 31
string getButtonText()

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.

Return Value

string