Class WebAppData
java.lang.Object
io.micronaut.chatbots.telegram.api.WebAppData
Describes data sent from a Web App to the bot.
 WebAppData
- Since:
- 1.0.0
- Author:
- Sergio del Amo
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NonNull String@NonNull StringgetData()voidsetButtonText(@NonNull String buttonText) void
- 
Constructor Details- 
WebAppDatapublic WebAppData()
 
- 
- 
Method Details- 
getData- Returns:
- The data. Be aware that a bad client can send arbitrary data in this field.
 
- 
setData- Parameters:
- data- The data. Be aware that a bad client can send arbitrary data in this field.
 
- 
getButtonText- Returns:
- 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.
 
- 
setButtonText- Parameters:
- buttonText- 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.
 
 
-