ChatThreadClient.UpdatePropertiesAsync Method

Definition

Updates the thread's properties asynchronously.

public virtual System.Threading.Tasks.Task<Azure.Response> UpdatePropertiesAsync (Azure.Communication.Chat.UpdateChatThreadPropertiesOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdatePropertiesAsync : Azure.Communication.Chat.UpdateChatThreadPropertiesOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdatePropertiesAsync : Azure.Communication.Chat.UpdateChatThreadPropertiesOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdatePropertiesAsync (options As UpdateChatThreadPropertiesOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

options
UpdateChatThreadPropertiesOptions

Chat thread options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

The server returned an error. See Message for details returned from the server.

Applies to