public static class TdApi.GetFileExtension 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 |
mimeType
The MIME type of the file.
|
| Constructor and Description |
|---|
GetFileExtension()
Default constructor for a function, which returns the extension of a file, guessed by its MIME type.
|
GetFileExtension(java.lang.String mimeType)
Creates a function, which returns the extension of a file, guessed by its MIME type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String mimeType
public static final int CONSTRUCTOR
public GetFileExtension()
Returns Text
public GetFileExtension(java.lang.String mimeType)
Returns Text
mimeType - The MIME type of the file.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object