Sdílet prostřednictvím


CloudSkillHandler.OnGetConversationMemberAsync Metoda

Definice

GetConversationMember() API for Skill.

protected override System.Threading.Tasks.Task<Microsoft.Bot.Schema.ChannelAccount> OnGetConversationMemberAsync (System.Security.Claims.ClaimsIdentity claimsIdentity, string userId, string conversationId, System.Threading.CancellationToken cancellationToken = default);
override this.OnGetConversationMemberAsync : System.Security.Claims.ClaimsIdentity * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ChannelAccount>
Protected Overrides Function OnGetConversationMemberAsync (claimsIdentity As ClaimsIdentity, userId As String, conversationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ChannelAccount)

Parametry

claimsIdentity
ClaimsIdentity

claimsIdentity pro robota by měl mít AudienceClaim, AppIdClaim a ServiceUrlClaim.

userId
String

ID uživatele

conversationId
String

ID konverzace.

cancellationToken
CancellationToken

Token zrušení.

Návraty

úkol pro odpověď.

Platí pro