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