Create a new ConversationClient.
OptionalgetToken: TokenProviderOptional token provider for authenticating outbound API calls. Omit for unauthenticated local development.
Send an activity to a conversation.
Bot Service service URL (from the incoming activity).
Target conversation ID.
CoreActivity payload to send.
The ResourceResponse containing the new activity ID, or undefined.
Update an existing activity in a conversation.
Bot Service service URL.
Target conversation ID.
ID of the activity to update.
Updated activity payload (partial merge).
The ResourceResponse, or undefined.
Delete an activity from a conversation.
Bot Service service URL.
Target conversation ID.
ID of the activity to delete.
Retrieve all members of a conversation.
Bot Service service URL.
Target conversation ID.
Array of ChannelAccount members; empty array if none.
Retrieve a single member of a conversation by user ID.
Bot Service service URL.
Target conversation ID.
ID of the member to retrieve.
The ChannelAccount, or undefined if not found.
Retrieve a page of conversation members.
Use continuationToken from the previous result to fetch subsequent pages.
Bot Service service URL.
Target conversation ID.
OptionalpageSize: numberMaximum number of members per page.
OptionalcontinuationToken: stringOpaque token from a previous page result.
A PagedMembersResult with members and an optional continuation token.
Remove a member from a conversation.
Bot Service service URL.
Target conversation ID.
ID of the member to remove.
Create a new proactive conversation.
Bot Service service URL.
Conversation creation parameters (members, topic, initial activity).
A ConversationResourceResponse with the new conversation ID, or undefined.
List all conversations the bot is a member of.
Bot Service service URL.
OptionalcontinuationToken: stringOpaque token from a previous page result.
A ConversationsResult with conversations and an optional continuation token.
Upload a transcript of past activities to a conversation.
Bot Service service URL.
Target conversation ID.
Ordered list of activities to upload.
The ResourceResponse, or undefined.
Retrieve the conversation account details.
Bot Service service URL.
Target conversation ID.
The Conversation, or undefined if not found.
Client for the Bot Service v3 Conversations REST API.
Sends activities, manages members, creates conversations, and uploads attachments.