Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method tgClient.AbstractTelegramClient.prototype.addEventHandler
import { tgClient } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { AbstractTelegramClient } = tgClient;

Parameters

callback: { (event: any): void; }
optional
event: any