Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method Bot.prototype.init
Re-export
import { Bot } from "https://deno.land/x/my_grammy@v0.0.8/deps.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