Package org.drinkless.tdlib
Class TdApi.GetSuggestedFileName
- Enclosing class:
- TdApi
Returns suggested name for saving a file in a given directory.
Returns Text
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Directory in which the file is expected to be saved.int
Identifier of the file. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
fileId
public int fileIdIdentifier of the file. -
directory
Directory in which the file is expected 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 expected 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
-