Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grm/mod.ts>client.addEventHandler

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

Parameters

callback: CallableFunction
optional
event: EventBuilder