Module

x/grammy/mod.ts>Bot#fetchUpdates

The Telegram Bot Framework.
Very Popular
Go to Latest
method Bot.prototype.fetchUpdates
import { Bot } from "https://dotland.deno.dev/x/grammy@v1.12.0/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