ConversationsExtensions.GetConversationsAsync 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 static System.Threading.Tasks.Task<Microsoft.Bot.Connector.ConversationsResult> GetConversationsAsync (this Microsoft.Bot.Connector.IConversations operations, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationsResult> GetConversationsAsync (this Microsoft.Bot.Connector.IConversations operations, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetConversationsAsync : Microsoft.Bot.Connector.IConversations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.ConversationsResult>
static member GetConversationsAsync : Microsoft.Bot.Connector.IConversations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationsResult>
<Extension()>
Public Function GetConversationsAsync (operations As IConversations, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConversationsResult)
Parameters
- operations
- IConversations
The operations group for this extension method.
- continuationToken
- String
skip or continuation token.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The Conversation in which this bot has participated.
Remarks
List the Conversations in which this bot 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.