Skip to main content
Module

x/grm/mod.ts>EventBuilder

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

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)