MMLChatEvent extendsRemoteEvent

A class that extends Event | Event.

detailisReadonly

detail: { message: string connectionId: number }

Type declaration

  • message:  
  • string

The contents of the chat message.

  • connectionId:  
  • number

The unique numeric id of the connection that sent the event.

typeisReadonly

Returns the type of event, e.g. "click", "hashchange", or "submit".

Literal: chat