Module

x/grammy/mod.ts>Bot#handleUpdates

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