View Source ExTDLib.Method.GetSuggestedFileName (ExTDLib v0.0.4)

Returns suggested name for saving a file in a given directory. Returns object_ptr<Text>.

NameTypeDescription
file_idnumberIdentifier of the file.
directorystringDirectory in which the file is supposed to be saved.

More details on telegram's documentation.