ChannelServiceHandlerBase.OnGetConversationMembersAsync Metodo

Definizione

API GetConversationMembers() per competenza.

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>> OnGetConversationMembersAsync (System.Security.Claims.ClaimsIdentity claimsIdentity, string conversationId, System.Threading.CancellationToken cancellationToken = default);
abstract member OnGetConversationMembersAsync : System.Security.Claims.ClaimsIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>
override this.OnGetConversationMembersAsync : System.Security.Claims.ClaimsIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>
Protected Overridable Function OnGetConversationMembersAsync (claimsIdentity As ClaimsIdentity, conversationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of ChannelAccount))

Parametri

claimsIdentity
ClaimsIdentity

claimsIdentity per il bot, deve avere AudienceClaim, AppIdClaim e ServiceUrlClaim.

conversationId
String

ID conversazione.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

attività per una risposta.

Commenti

Eseguire l'override di questo metodo per enumerare i membri di una conversazione.

Questa API REST accetta conversationId e restituisce una matrice di oggetti ChannelAccount che rappresentano i membri della conversazione.

Si applica a