다음을 통해 공유


ChannelServiceHandlerBase.OnGetConversationMembersAsync 메서드

정의

기술용 GetConversationMembers() API.

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 개체의 배열을 반환합니다.

적용 대상