Returns the MIME type of a file, guessed by its extension. Returns an empty string on failure. Can be called synchronously. Request type for Tdjson#getFileMimeType.
The name of the file or path to the file.
Returns the MIME type of a file, guessed by its extension. Returns an empty string on failure. Can be called synchronously. Request type for Tdjson#getFileMimeType.