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

x/grm/src/mod.ts>events.NewMessage

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

Constructors

new
NewMessage(newMessageParams?: NewMessageInterface)

Properties

private
readonly
_noCheck: boolean
optional
forwards: boolean
optional
fromUsers: Api.TypeEntityLike[]
optional
func: { (event: NewMessageEvent): boolean; }
optional
incoming: boolean
optional
outgoing: boolean
optional
pattern: RegExp

Methods

addAttributes(_update: any)
build(
_callback: undefined,
selfId: bigInt.BigInteger,
)