Share via


ChatClient Class

Definition

The Azure Communication Services Chat client.

public class ChatClient
type ChatClient = class
Public Class ChatClient
Inheritance
ChatClient

Constructors

ChatClient()

Initializes a new instance of ChatClient for mocking.

ChatClient(Uri, CommunicationTokenCredential, ChatClientOptions)

Initializes a new instance of ChatClient.

Methods

CreateChatThread(CreateChatThreadOptions, CancellationToken)

Creates a ChatThreadClient asynchronously. ChatThreadClient.

CreateChatThread(String, IEnumerable<ChatParticipant>, String, CancellationToken)

Creates a ChatThreadClient synchronously.ChatThreadClient.

CreateChatThreadAsync(CreateChatThreadOptions, CancellationToken)

Creates a ChatThreadClient asynchronously. ChatThreadClient.

CreateChatThreadAsync(String, IEnumerable<ChatParticipant>, String, CancellationToken)

Creates a ChatThreadClient asynchronously. ChatThreadClient.

DeleteChatThread(String, CancellationToken)

Deletes a thread.

DeleteChatThreadAsync(String, CancellationToken)

Deletes a thread asynchronously.

GetChatThreadClient(String)

Initializes a new instance of ChatThreadClient. ChatThreadClient.

GetChatThreads(Nullable<DateTimeOffset>, CancellationToken)

Gets the list of chat threads of a userChatThreadItem.

GetChatThreadsAsync(Nullable<DateTimeOffset>, CancellationToken)

Gets the list of chat threads of a userChatThreadItem asynchronously.

Applies to