get_file_mime_type


Description:

public async Text get_file_mime_type (string file_name) throws TDLibError

Returns the MIME type of a file, guessed by its extension. Returns an empty string on failure. Can be called synchronously

Parameters:

file_name

The name of the file or path to the file