get_file_extension


Description:

public async Text get_file_extension (string mime_type) throws TDLibError

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

Parameters:

mime_type

The MIME type of the file