Initialize a new instance of the class ChatThread class.
Reference to the service client
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.
The timestamp when the chat thread was created. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ
.
The timestamp when the chat thread was deleted. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ
.
Chat thread id.
Chat thread topic.
Adds thread participants to a thread. If participants already exist, no change occurs.
Id of the thread to add participants to.
Thread participants to be added to the thread.
The options parameters.
Deletes a message.
The thread id to which the message was sent.
The message id.
The options parameters.
Gets a message by id.
The thread id to which the message was sent.
The message id.
The options parameters.
Gets a list of messages from a thread.
The thread id of the message.
The options parameters.
ListChatMessagesNext
The thread id of the message.
The nextLink from the previous successful call to the ListChatMessages method.
The options parameters.
Gets the participants of a thread.
Thread id to get participants for.
The options parameters.
ListChatParticipantsNext
Thread id to get participants for.
The nextLink from the previous successful call to the ListChatParticipants method.
The options parameters.
Gets chat message read receipts for a thread.
Thread id to get the chat message read receipts for.
The options parameters.
ListChatReadReceiptsNext
Thread id to get the chat message read receipts for.
The nextLink from the previous successful call to the ListChatReadReceipts method.
The options parameters.
Remove a participant from a thread.
Thread id to remove the participant from.
Id of the thread participant to remove from the thread.
The options parameters.
Sends a message to a thread.
The thread id to send the message to.
Details of the message to send.
The options parameters.
Sends a read receipt event to a thread, on behalf of a user.
Thread id to send the read receipt event to.
Read receipt details.
The options parameters.
Posts a typing event to a thread, on behalf of a user.
Id of the thread.
The options parameters.
Updates a message.
The thread id to which the message was sent.
The message id.
Details of the request to update the message.
The options parameters.
Updates a thread's properties.
The id of the thread to update.
Request payload for updating a chat thread.
The options parameters.
Generated using TypeDoc
Class representing a ChatThread. Chat thread.