public static class TdApi.GetFileMimeType 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 |
fileName
The name of the file or path to the file.
|
Constructor and Description |
---|
GetFileMimeType()
Default constructor for a function, which returns the MIME type of a file, guessed by its extension.
|
GetFileMimeType(java.lang.String fileName)
Creates a function, which returns the MIME type of a file, guessed by its extension.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String fileName
public static final int CONSTRUCTOR
public GetFileMimeType()
Returns Text
public GetFileMimeType(java.lang.String fileName)
Returns Text
fileName
- The name of the file or path to the file.public int getConstructor()
getConstructor
in class TdApi.Function