Package it.tdlight.jni
Class TdApi.GetSuggestedFileName
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetSuggestedFileName
- Enclosing class:
- TdApi
public static class TdApi.GetSuggestedFileName extends TdApi.Function
Returns suggested name for saving a
file in a given directory.
Returns Text
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
directory
Directory in which the file is supposed to be saved.int
fileId
Identifier of the file. -
Constructor Summary
Constructors Constructor Description GetSuggestedFileName()
Returns 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)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods 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 CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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
- int Identifier of the file.directory
- String Directory in which the file is supposed to be saved.
-
GetSuggestedFileName
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-