IConversations.GetConversationsAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetConversations.
public System.Threading.Tasks.Task<Microsoft.Agents.Connector.Types.ConversationsResult> GetConversationsAsync(string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConversationsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Connector.Types.ConversationsResult>
Public Function GetConversationsAsync (Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConversationsResult)
Parameters
- continuationToken
- String
skip or continuation token.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
List the Conversations in which this Agent has participated.
GET from this method with a skip token
The return value is a ConversationsResult, which contains an array of ConversationMembers and a skip token. If the skip token is not empty, then there are further values to be returned. Call this method again with the returned token to get more values.
Each ConversationMembers object contains the ID of the conversation and an array of ChannelAccounts that describe the members of the conversation.