Skip to main content
Module

x/grammy/bot.ts>Bot#handleUpdates

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