Class TdApi.GetFile
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.File>
dev.voroby.springframework.telegram.client.TdApi.GetFile
- Enclosing class:
- TdApi
Returns information about a file; this is an offline request.
Returns File
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Identifier of the file to get. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
fileId
public int fileIdIdentifier of the file to get. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetFile
public GetFile()Default constructor for a function, which returns information about a file; this is an offline request.Returns
File
-
GetFile
public GetFile(int fileId) Creates a function, which returns information about a file; this is an offline request.Returns
File
- Parameters:
fileId
- Identifier of the file to get.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-