SkillHandlerImpl class
Конструкторы
Skill |
Методы
Сведения о конструкторе
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)
Параметры
- skillConversationReferenceKey
-
symbol
- adapter
-
BotAdapter
- logic
-
(context: TurnContext) => Promise<void>
- conversationIdFactory
-
SkillConversationIdFactoryBase
- getOauthScope
-
() => string | undefined
Сведения о методе
onDeleteActivity(ClaimsIdentity, string, string)
function onDeleteActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string): Promise<void>
Параметры
- claimsIdentity
-
ClaimsIdentity
- conversationId
-
string
- activityId
-
string
Возвращаемое значение
Promise<void>
onGetMember(ClaimsIdentity, string, string)
function onGetMember(claimsIdentity: ClaimsIdentity, userId: string, conversationId: string): Promise<ChannelAccount>
Параметры
- claimsIdentity
-
ClaimsIdentity
- userId
-
string
- conversationId
-
string
Возвращаемое значение
Promise<ChannelAccount>
onReplyToActivity(ClaimsIdentity, string, string, Activity)
function onReplyToActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string, activity: Activity): Promise<ResourceResponse>
Параметры
- claimsIdentity
-
ClaimsIdentity
- conversationId
-
string
- activityId
-
string
- activity
-
Activity
Возвращаемое значение
Promise<ResourceResponse>
onSendToConversation(ClaimsIdentity, string, Activity)
function onSendToConversation(claimsIdentity: ClaimsIdentity, conversationId: string, activity: Activity): Promise<ResourceResponse>
Параметры
- claimsIdentity
-
ClaimsIdentity
- conversationId
-
string
- activity
-
Activity
Возвращаемое значение
Promise<ResourceResponse>
onUpdateActivity(ClaimsIdentity, string, string, Activity)
function onUpdateActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string, activity: Activity): Promise<ResourceResponse>
Параметры
- claimsIdentity
-
ClaimsIdentity
- conversationId
-
string
- activityId
-
string
- activity
-
Activity
Возвращаемое значение
Promise<ResourceResponse>