chat Package

Packages

aio

Classes

ChatClient

A client to interact with the AzureCommunicationService Chat gateway.

This client provides operations to create chat thread, delete chat thread, get chat thread client by thread id, list chat threads.

ChatThreadClient

A client to interact with the AzureCommunicationService Chat gateway. Instances of this class is normally retrieved by ChatClient.get_chat_thread_client()

This client provides operations to add participant(s) to chat thread, remove participant from chat thread, send message, delete message, update message, send typing notifications, send and list read receipt

ChatMessage

Chat message.

Variables are only populated by the server, and will be ignored when sending a request.

ChatMessageContent

Content of a chat message.

ChatMessageReadReceipt

A chat message read receipt indicates the time a chat message was read by a recipient.

Variables are only populated by the server, and will be ignored when sending a request.

SendChatMessageResult

Result of the send message operation.

All required parameters must be populated in order to send to Azure.

ChatThreadProperties

ChatThreadProperties.

Variables are only populated by the server, and will be ignored when sending a request.

ChatThreadItem

Summary information of a chat thread.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

ChatParticipant

A participant of the chat thread.

All required parameters must be populated in order to send to Azure.

CreateChatThreadResult

Result of the create chat thread operation.

ChatError

The Communication Services error.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

CommunicationTokenCredential

Credential type used for authenticating to an Azure Communication service. :param str token: The token used to authenticate to an Azure Communication service :keyword token_refresher: The token refresher to provide capacity to fetch fresh token :raises: TypeError

CommunicationIdentifier

Communication Identifier.

CommunicationUserIdentifier

Represents a user in Azure Communication Service.

CommunicationUserProperties
PhoneNumberIdentifier

Represents a phone number.

PhoneNumberProperties
MicrosoftTeamsUserIdentifier

Represents an identifier for a Microsoft Teams user.

MicrosoftTeamsUserProperties
UnknownIdentifier

Represents an identifier of an unknown type.

It will be encountered in communications with endpoints that are not identifiable by this version of the SDK.

Enums

ChatMessageType

The chat message type.

CommunicationIdentifierKind

Communication Identifier Kind.