import { Bot } from "https://deno.land/x/my_grammy@v0.1.1/bot.ts";
Constructors
new
Bot(token: string | null, defaultSession: S)Type Parameters
S extends BaseSession
Properties
setChatCommands: (commands: BotCommand[], chatId: number) => unknown
Methods
Static Methods
fromEnv<S extends BaseSession>(defaultSession: S)