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

x/grammy/mod.ts>Bot#fetchUpdates

The Telegram Bot Framework.
Very Popular
Latest
method Bot.prototype.fetchUpdates
Re-export
import { Bot } from "https://deno.land/x/grammy@v1.30.1/mod.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