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

x/grm/mod.ts>client.updates.addEventHandler

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

Parameters

callback: CallableFunction
optional
event: EventBuilder