public static class TdApi.GetSuggestedFileName extends TdApi.Function<TdApi.Text>
Returns Text
| 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 expected 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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 expected to be saved.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object