Class TdApi.GetSuggestedFileName
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Text>
dev.voroby.springframework.telegram.client.TdApi.GetSuggestedFileName
- Enclosing class:
- TdApi
Returns suggested name for saving a file in a given directory.
Returns Text
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Directory in which the file is supposed to be saved.int
Identifier of the file. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns suggested name for saving a file in a given directory.GetSuggestedFileName
(int fileId, String directory) Creates a function, which returns suggested name for saving a file in a given directory. -
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. -
directory
Directory in which the file is supposed to be saved. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetSuggestedFileName
public GetSuggestedFileName()Default constructor for a function, which returns suggested name for saving a file in a given directory.Returns
Text
-
GetSuggestedFileName
Creates a function, which returns suggested name for saving a file in a given directory.Returns
Text
- Parameters:
fileId
- Identifier of the file.directory
- Directory in which the file is supposed to be saved.
-
-
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
-