Function fromFileId

  • If the file is already stored somewhere on the Telegram servers, you don't need to reupload it: each file object has a file_id field, simply pass this file_id as a parameter instead of uploading.

    It is not possible to change the file type when resending by file_id.

    It is not possible to resend thumbnails using file_id. They have to be uploaded using one of the other Input methods.

    There are no limits for files sent this way.

    Parameters

    • fileId: string

    Returns string

Generated using TypeDoc