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

x/grammy/bot.ts>Bot#handleUpdates

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

Internal. Do not call. Handles an update batch sequentially by supplying it one-by-one to the middleware. Handles middleware errors and stores the last update identifier that was being tried to handle.

Parameters

updates: Update[]

An array of updates to handle