- Enclosing class:
- TdApi
Sends data received from a
keyboardButtonTypeWebApp Web App to a bot.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the target bot.Text of the keyboardButtonTypeWebApp button, which opened the Web App.static final intThe data. -
Constructor Summary
ConstructorsConstructorDescriptionSends 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-