ChannelServiceHandlerBase.OnGetConversationMembersAsync メソッド

定義

GetConversationMembers() API for Skill。

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))

パラメーター

claimsIdentity
ClaimsIdentity

ボットの claimsIdentity には、AudienceClaim、AppIdClaim、ServiceUrlClaim が必要です。

conversationId
String

会話 ID。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

応答のタスク。

注釈

会話のメンバーを列挙するには、このメソッドをオーバーライドします。

この REST API は ConversationId を受け取り、会話のメンバーを表す ChannelAccount オブジェクトの配列を返します。

適用対象