public static class TdApi.GetSuggestedFileName extends TdApi.Function
Returns Text
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
directory
Directory in which the file is supposed to be saved.
|
int |
fileId
Identifier of the file.
|
Constructor and Description |
---|
GetSuggestedFileName()
Default constructor for a function, which returns suggested name for saving a file in a given directory.
|
GetSuggestedFileName(int fileId,
java.lang.String directory)
Creates a function, which returns suggested name for saving a file in a given directory.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int fileId
public java.lang.String directory
public static final int CONSTRUCTOR
public GetSuggestedFileName()
Returns Text
public GetSuggestedFileName(int fileId, java.lang.String directory)
Returns Text
fileId
- Identifier of the file.directory
- Directory in which the file is supposed to be saved.public int getConstructor()
getConstructor
in class TdApi.Function