Interface GetSuggestedFileName

Returns suggested name for saving a file in a given directory. Request type for Tdjson#getSuggestedFileName.

interface GetSuggestedFileName {
    @type: "getSuggestedFileName";
    directory: string;
    file_id: number;
}

Properties

@type: "getSuggestedFileName"
directory: string

Directory in which the file is expected to be saved.

file_id: number

Identifier of the file.