class events.NewMessageEvent
extends EventCommon
Re-export
import { events } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { NewMessageEvent } = events;
Constructors
new
NewMessageEvent(message: Api.Message, originalUpdate: Api.TypeUpdate | Api.TypeUpdates)Properties
message: CustomMessage
originalUpdate: (Api.TypeUpdate | Api.TypeUpdates) & { _entities?: Map<number, Api.TypeEntity>; }
Methods
_setClient(client: AbstractTelegramClient)