View Source ExTDLib.Method.CleanFileName (ExTDLib v0.0.4)
Removes potentially dangerous characters from the name of a file. The encoding of the file name is supposed to be UTF-8. Returns an empty string on failure. Can be called synchronously. Returns object_ptr<Text>.
| Name | Type | Description |
|---|---|---|
| file_name | string | File name or path to the file. |
More details on telegram's documentation.