Compartilhar via


SkillHandlerImpl class

Construtores

SkillHandlerImpl(symbol, BotAdapter, (context: TurnContext) => Promise<void>, SkillConversationIdFactoryBase, () => string | undefined)

Métodos

onDeleteActivity(ClaimsIdentity, string, string)
onGetMember(ClaimsIdentity, string, string)
onReplyToActivity(ClaimsIdentity, string, string, Activity)
onSendToConversation(ClaimsIdentity, string, Activity)
onUpdateActivity(ClaimsIdentity, string, string, Activity)

Detalhes do construtor

SkillHandlerImpl(symbol, BotAdapter, (context: TurnContext) => Promise<void>, SkillConversationIdFactoryBase, () => string | undefined)

new SkillHandlerImpl(skillConversationReferenceKey: symbol, adapter: BotAdapter, logic: (context: TurnContext) => Promise<void>, conversationIdFactory: SkillConversationIdFactoryBase, getOauthScope?: () => string | undefined)

Parâmetros

skillConversationReferenceKey

symbol

adapter

BotAdapter

logic

(context: TurnContext) => Promise<void>

conversationIdFactory

SkillConversationIdFactoryBase

getOauthScope

() => string | undefined

Detalhes do método

onDeleteActivity(ClaimsIdentity, string, string)

function onDeleteActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string): Promise<void>

Parâmetros

claimsIdentity

ClaimsIdentity

conversationId

string

activityId

string

Retornos

Promise<void>

onGetMember(ClaimsIdentity, string, string)

function onGetMember(claimsIdentity: ClaimsIdentity, userId: string, conversationId: string): Promise<ChannelAccount>

Parâmetros

claimsIdentity

ClaimsIdentity

userId

string

conversationId

string

Retornos

Promise<ChannelAccount>

onReplyToActivity(ClaimsIdentity, string, string, Activity)

function onReplyToActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string, activity: Activity): Promise<ResourceResponse>

Parâmetros

claimsIdentity

ClaimsIdentity

conversationId

string

activityId

string

activity

Activity

Retornos

Promise<ResourceResponse>

onSendToConversation(ClaimsIdentity, string, Activity)

function onSendToConversation(claimsIdentity: ClaimsIdentity, conversationId: string, activity: Activity): Promise<ResourceResponse>

Parâmetros

claimsIdentity

ClaimsIdentity

conversationId

string

activity

Activity

Retornos

Promise<ResourceResponse>

onUpdateActivity(ClaimsIdentity, string, string, Activity)

function onUpdateActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string, activity: Activity): Promise<ResourceResponse>

Parâmetros

claimsIdentity

ClaimsIdentity

conversationId

string

activityId

string

activity

Activity

Retornos

Promise<ResourceResponse>