public static class TdApi.CheckWebAppFileDownload extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the bot, providing the Web App.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
fileName
Name of the file.
|
java.lang.String |
url
URL of the file.
|
| Constructor and Description |
|---|
CheckWebAppFileDownload()
Default constructor for a function, which checks whether a file can be downloaded and saved locally by Web App request.
|
CheckWebAppFileDownload(long botUserId,
java.lang.String fileName,
java.lang.String url)
Creates a function, which checks whether a file can be downloaded and saved locally by Web App request.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public java.lang.String fileName
public java.lang.String url
public static final int CONSTRUCTOR
public CheckWebAppFileDownload()
Returns Ok
public CheckWebAppFileDownload(long botUserId,
java.lang.String fileName,
java.lang.String url)
Returns Ok
botUserId - Identifier of the bot, providing the Web App.fileName - Name of the file.url - URL of the file.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object