public static class TdApi.SendWebAppCustomRequest extends TdApi.Function<TdApi.CustomRequestResult>
Returns CustomRequestResult
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
method
The method name.
|
java.lang.String |
parameters
JSON-serialized method parameters.
|
| Constructor and Description |
|---|
SendWebAppCustomRequest()
Default constructor for a function, which sends a custom request from a Web App.
|
SendWebAppCustomRequest(long botUserId,
java.lang.String method,
java.lang.String parameters)
Creates a function, which sends a custom request from a Web App.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public java.lang.String method
public java.lang.String parameters
public static final int CONSTRUCTOR
public SendWebAppCustomRequest()
Returns CustomRequestResult
public SendWebAppCustomRequest(long botUserId,
java.lang.String method,
java.lang.String parameters)
Returns CustomRequestResult
botUserId - Identifier of the bot.method - The method name.parameters - JSON-serialized method parameters.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object