Partilhar via


CloudSkillHandler.OnGetConversationMemberAsync Método

Definição

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)

Parâmetros

claimsIdentity
ClaimsIdentity

claimsIdentity para o bot, deve ter AudienceClaim, AppIdClaim e ServiceUrlClaim.

userId
String

ID de Utilizador.

conversationId
String

ID de Conversação.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

tarefa para uma resposta.

Aplica-se a