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

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

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

Initializes the bot, i.e. fetches information about the bot itself. This method is called automatically, you usually don't have to call it manually.

Parameters

optional
signal: AbortSignal

Optional AbortSignal to cancel the initialization