ChatMessageEditedEvent interface
Event for a edited chat message. All chat participants receive this event, including the original sender
- Extends
Properties
edited |
The timestamp when the message was edited. The timestamp is in RFC3339 format:
|
Inherited Properties
attachments | Chat message attachments. |
created |
The timestamp when the message arrived at the server. The timestamp is in RFC3339 format:
|
id | The Id of the message. This Id is server generated. |
message | Content of the message. |
metadata | Metadata of the message. |
recipient | The Id of the event recipient. |
sender | The Id of the event sender. |
sender |
The display name of the event sender. |
thread |
Thread Id of the event. |
type | Type of the chat message. Possible types are "Text" and "RichText/Html". |
version | Version of the message. This version is an epoch time in a numeric unsigned Int64 format:
|
Property Details
editedOn
The timestamp when the message was edited. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ
.
editedOn: Date
Property Value
Date
Inherited Property Details
attachments
Chat message attachments.
attachments?: ChatAttachment[]
Property Value
@azure/communication-signaling.ChatAttachment[]
Inherited From ChatMessageReceivedEvent.attachments
createdOn
The timestamp when the message arrived at the server. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ
.
createdOn: Date
Property Value
Date
Inherited From ChatMessageReceivedEvent.createdOn
id
The Id of the message. This Id is server generated.
id: string
Property Value
string
Inherited From ChatMessageReceivedEvent.id
message
Content of the message.
message: string
Property Value
string
Inherited From ChatMessageReceivedEvent.message
metadata
Metadata of the message.
metadata: Record<string, string>
Property Value
Record<string, string>
Inherited From ChatMessageReceivedEvent.metadata
recipient
The Id of the event recipient.
recipient: CommunicationIdentifierKind
Property Value
Inherited From ChatMessageReceivedEvent.recipient
sender
The Id of the event sender.
sender: CommunicationIdentifierKind
Property Value
Inherited From ChatMessageReceivedEvent.sender
senderDisplayName
The display name of the event sender.
senderDisplayName: string
Property Value
string
Inherited From ChatMessageReceivedEvent.senderDisplayName
threadId
Thread Id of the event.
threadId: string
Property Value
string
Inherited From ChatMessageReceivedEvent.threadId
type
Type of the chat message. Possible types are "Text" and "RichText/Html".
type: string
Property Value
string
Inherited From ChatMessageReceivedEvent.type
version
Version of the message. This version is an epoch time in a numeric unsigned Int64 format:
1593117207131
version: string
Property Value
string
Inherited From ChatMessageReceivedEvent.version