Module

x/grammy/bot.ts>Bot#init

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