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

x/grm/mod.ts>events.EventBuilder

MTProto API Client for Deno 🦕
Go to Latest
class events.EventBuilder
Re-export
import { events } from "https://deno.land/x/grm@0.6.0/mod.ts";
const { EventBuilder } = events;

Constructors

new
EventBuilder(eventParams: DefaultEventInterface)

Properties

blacklistChats: boolean
optional
chats: string[]
optional
client: AbstractTelegramClient
optional
func: CallableFunction
resolved: boolean

Methods

_resolve(client: AbstractTelegramClient)
build(
update: Api.TypeUpdate,
_callback?: CallableFunction,
_selfId?: bigInt.BigInteger,
): any
filter(event: EventCommon | EventCommonSender): undefined | EventCommon | EventCommonSender
resolve(client: AbstractTelegramClient)