Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/mod.ts>client.addEventHandler

MTProto API Client for Deno 🦕
Go to Latest
function client.addEventHandler
import { client } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { addEventHandler } = client;

Parameters

callback: CallableFunction
optional
event: EventBuilder