public static class TdApi.GetRemoteFile extends TdApi.Function<TdApi.File>
Returns File
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.FileType |
fileType
File type; pass null if unknown.
|
java.lang.String |
remoteFileId
Remote identifier of the file to get.
|
| Constructor and Description |
|---|
GetRemoteFile()
Default constructor for a function, which returns information about a file by its remote identifier; this is an offline request.
|
GetRemoteFile(java.lang.String remoteFileId,
TdApi.FileType fileType)
Creates a function, which returns information about a file by its remote identifier; this is an offline request.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String remoteFileId
public TdApi.FileType fileType
public static final int CONSTRUCTOR
public GetRemoteFile()
Returns File
public GetRemoteFile(java.lang.String remoteFileId,
TdApi.FileType fileType)
Returns File
remoteFileId - Remote identifier of the file to get.fileType - File type; pass null if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object