Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChatMessage

Package version

An interface representing a chat message.

Hierarchy

  • any
    • ChatMessage

Index

Properties

Optional content

content: undefined | string

Content of the chat message.

Optional createdOn

createdOn: Date

The timestamp when the chat message arrived at the server. The timestamp is in ISO8601 format: yyyy-MM-ddTHH:mm:ssZ.

Optional deletedOn

deletedOn: Date

The timestamp when the chat message was deleted. The timestamp is in ISO8601 format: yyyy-MM-ddTHH:mm:ssZ.

Optional editedOn

editedOn: Date

The timestamp when the chat message was edited. The timestamp is in ISO8601 format: yyyy-MM-ddTHH:mm:ssZ.

Optional id

id: undefined | string

The id of the chat message. This id is server generated.

Optional priority

The chat message priority.

Optional sender

sender: CommunicationUser

The CommunicationUser that identifies this chat message sender.

Optional senderDisplayName

senderDisplayName: undefined | string

The display name of the chat message sender. This property is used to populate sender name for push notifications.

Optional senderId

senderId: undefined | string

The id of the chat message sender.

Optional type

type: undefined | string

Type of the chat message.

Possible values: - Text - ThreadActivity/TopicUpdate - ThreadActivity/AddMember - ThreadActivity/DeleteMember

Optional version

version: undefined | string

Version of the chat message.

Generated using TypeDoc