Learn R Programming

telegram.bot (version 2.0.0)

getFile: getFile

Description

Use this method to get basic info about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling get_file again.

Usage

getFile(file_id)

Arguments

file_id

The file identifier

Details

You can also use it's snake_case equivalent get_file.