get_file_extension_sync


Description:

public Text get_file_extension_sync (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