Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChatMessage

Package version

Chat message. An interface representing a chat message.

Hierarchy

  • any
    • ChatMessage

Index

Properties

Optional content

Content of a chat message. Content of a chat message.

createdOn

createdOn: Date

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

Optional deletedOn

deletedOn: Date

The timestamp (if applicable) when the message was deleted. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

Optional editedOn

editedOn: Date

The last timestamp (if applicable) when the message was edited. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

id

id: string

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

Optional sender

sender: CommunicationUserIdentifier

The CommunicationUserIdentifier 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.

sequenceId

sequenceId: string

Sequence of the chat message in the conversation.

type

The chat message type.

version

version: string

Version of the chat message.

Generated using TypeDoc