WebAppData

@Serializable
data class WebAppData(val data: String, val buttonText: String)

Describes data sent from a Web App to the bot.

Api reference

Constructors

Link copied to clipboard
constructor(data: String, buttonText: String)

Properties

Link copied to clipboard

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.

Link copied to clipboard

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