TelegramBot.getFile

Get info about a file and prepare it for downloading

  1. File getFile(string file_id)
    struct TelegramBot
    @trusted
    getFile
    (
    string file_id
    )
  2. File getFile(GetFileMethod m)

Parameters

file_id string

File identifier to get info about

Return Value

Type: File

File on success

Throws

TelegramBotException on errors

See Also

Meta