- 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
ConstructorDescriptionReturns suggested name for saving a file in a given directory.GetSuggestedFileName
(int fileId, String directory) Returns suggested name for saving a file in a given directory.GetSuggestedFileName
(DataInput input) Returns suggested name for saving a file in a given directory. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
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()Returns suggested name for saving a file in a given directory.Returns
Text
-
GetSuggestedFileName
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.Returns
Text
-
GetSuggestedFileName
Returns suggested name for saving a file in a given directory.Returns
Text
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-