Module

x/grammy/bot.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.20.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