Udostępnij za pośrednictwem


ChatThreadClient.SendTypingNotificationAsync Method

Definition

Overloads

SendTypingNotificationAsync(TypingNotificationOptions, CancellationToken)

Posts a typing event to a thread, on behalf of a user asynchronously.

SendTypingNotificationAsync(CancellationToken)

Posts a typing event to a thread, on behalf of a user asynchronously.

SendTypingNotificationAsync(TypingNotificationOptions, CancellationToken)

Source:
ChatThreadClient.cs
Source:
ChatThreadClient.cs

Posts a typing event to a thread, on behalf of a user asynchronously.

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

Parameters

options
TypingNotificationOptions

Typing notification 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

SendTypingNotificationAsync(CancellationToken)

Source:
ChatThreadClient.cs
Source:
ChatThreadClient.cs

Posts a typing event to a thread, on behalf of a user asynchronously.

public virtual System.Threading.Tasks.Task<Azure.Response> SendTypingNotificationAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member SendTypingNotificationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SendTypingNotificationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SendTypingNotificationAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

Applies to