- Enclosing class:
- TdApi
Sends data received from a
keyboardButtonTypeWebApp Web App to a bot.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the target bot.Text of the keyboardButtonTypeWebApp button, which opened the Web App.static final int
The data. -
Constructor Summary
ConstructorDescriptionSends data received from a keyboardButtonTypeWebApp Web App to a bot.SendWebAppData
(long botUserId, String buttonText, String data) Sends data received from a keyboardButtonTypeWebApp Web App to a bot.SendWebAppData
(DataInput input) Sends data received from a keyboardButtonTypeWebApp Web App to a bot. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
botUserId
public long botUserIdIdentifier of the target bot. -
buttonText
Text of the keyboardButtonTypeWebApp button, which opened the Web App. -
data
The data. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SendWebAppData
public SendWebAppData()Sends data received from a keyboardButtonTypeWebApp Web App to a bot. ReturnsOk
-
SendWebAppData
Sends data received from a keyboardButtonTypeWebApp Web App to a bot. ReturnsOk
- Parameters:
botUserId
- long Identifier of the target bot.buttonText
- String Text of the keyboardButtonTypeWebApp button, which opened the Web App.data
- String The data.
-
SendWebAppData
Sends data received from a keyboardButtonTypeWebApp Web App to a bot. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-