Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/bot.ts>Bot#fetchUpdates

The Telegram Bot Framework.
Very Popular
Latest
method Bot.prototype.fetchUpdates
import { Bot } from "https://deno.land/x/grammy@v1.31.0/bot.ts";

Internal. Do not call. Reliably fetches an update batch via getUpdates. Handles all known errors. Returns undefined if the bot is stopped and the call gets cancelled.

Parameters

unnamed 0: PollingOptions

Polling options