View Source ExTDLib.Method.GetFileMimeType (ExTDLib v0.0.4)
Returns the MIME type of a file, guessed by its extension. Returns an empty string on failure. Can be called synchronously. Returns object_ptr<Text>.
| Name | Type | Description |
|---|---|---|
| file_name | string | The name of the file or path to the file. |
More details on telegram's documentation.