public static class TdApi.SendWebAppData extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
java.lang.String |
buttonText
Text of the keyboardButtonTypeWebApp button, which opened the Web App.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
data
The data.
|
| Constructor and Description |
|---|
SendWebAppData()
Default constructor for a function, which sends data received from a keyboardButtonTypeWebApp Web App to a bot.
|
SendWebAppData(long botUserId,
java.lang.String buttonText,
java.lang.String data)
Creates a function, which sends data received from a keyboardButtonTypeWebApp Web App to a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public java.lang.String buttonText
public java.lang.String data
public static final int CONSTRUCTOR
public SendWebAppData()
Returns Ok
public SendWebAppData(long botUserId,
java.lang.String buttonText,
java.lang.String data)
Returns Ok
botUserId - Identifier of the target bot.buttonText - Text of the keyboardButtonTypeWebApp button, which opened the Web App.data - The data.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object