Options
All
  • Public
  • Public/Protected
  • All
Menu

Data emitted by session with NewMessage type.

Hierarchy

  • INewMessage

Index

Properties

Optional attachments

attachments?: IAttachments

A list of files attached to the message.

id

id: string

The Id of the message.

Optional mentions

mentions?: IMention[]

The Id list of the participant this message is mentioning.

nickname

nickname: string

The nickname of the sender.

participantId

participantId: string

The Id of the participant this message belongs to.

Optional replyId

replyId?: string

The Id of the message this message is replying to.

sentAt

sentAt: Date

The date of the message.

Optional text

text?: string

The text of the message.