public static class TdApi.GetFileExtension 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 |
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() |
toString
public 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()
getConstructor
in class TdApi.Function