import { Bot } from "https://deno.land/x/my_grammy@v0.1.1/mod.ts";
Constructors
new
Bot(token: string | null, defaultSession: S)Type Parameters
S extends BaseSession
Methods
initSessionPlugin(defaultSession: S)
run(allowed_updates?)
setKeyboard()
chatId: number | string,
msgId: number,
inline_keyboard: InlineKeyboardButton[][],
Static Methods
fromEnv<S extends BaseSession>(defaultSession: S)