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>