clean_file_name_sync


Description:

public Text clean_file_name_sync (string file_name) throws TDLibError

Removes potentially dangerous characters from the name of a file. Returns an empty string on failure. Can be called synchronously

Parameters:

file_name

File name or path to the file