TelegramBot.getUpdates

Receive incoming updates using long polling

  1. Update[] getUpdates(int offset, int limit, Duration timeout, string[] allowed_updates)
  2. Update[] getUpdates(GetUpdatesMethod m)
    struct TelegramBot
    @trusted
    getUpdates

Return Value

Type: Update[]

An array of updates

Throws

TelegramBotException on errors

See Also

Meta