TelegramBot.getFile

Get info about a file and prepare it for downloading

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

Return Value

Type: File

File on success

Throws

TelegramBotException on errors

See Also

Meta