ChatMessageContent interface
Content of a chat message.
Properties
attachments | List of attachments for this message |
initiator | Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set. |
message | Chat message content for messages of types text or html. |
participants | Chat message content for messages of types participantAdded or participantRemoved. |
topic | Chat message content for messages of type topicUpdated. |
Property Details
attachments
initiator
Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.
initiator?: CommunicationIdentifierKind
Property Value
message
Chat message content for messages of types text or html.
message?: string
Property Value
string
participants
Chat message content for messages of types participantAdded or participantRemoved.
participants?: ChatParticipant[]
Property Value
topic
Chat message content for messages of type topicUpdated.
topic?: string
Property Value
string