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

x/grammy_menu/deps.deno.ts>Bot#handleUpdate

Interactive menus for grammY.
Latest
method Bot.prototype.handleUpdate
Re-export
import { Bot } from "https://deno.land/x/grammy_menu@v1.3.0/deps.deno.ts";

This is an internal method that you probably will not ever need to call. It is used whenever a new update arrives from the Telegram servers that your bot will handle.

If you're writing a library on top of grammY, check out the documentation of the runner plugin for an example that uses this method.

Parameters

update: Update

An update from the Telegram Bot API

optional
webhookReplyEnvelope: WebhookReplyEnvelope

An optional webhook reply envelope