WebAppData

data class WebAppData(val data: String, val buttonText: String)(source)

WebAppData

Describes data sent from a Web App to the bot.

(auto-generated)

Author

ForteScarlet

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "button_text")
val buttonText: 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.

Link copied to clipboard

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