SkillConversationIdFactoryOptions Class
- java.
lang. Object - com.
microsoft. bot. builder. skills. SkillConversationIdFactoryOptions
- com.
public class SkillConversationIdFactoryOptions
A class defining the parameters used in {@link SkillConversationIdFactoryBase#createSkillConversationId(SkillConversationI FactoryOptions,System#getThreading()#getCancellationToken())} .
Constructor Summary
| Constructor | Description | |
|---|---|---|
| SkillConversationIdFactoryOptions() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Activity |
getActivity()
Gets the activity which will be sent to the skill. |
|
Bot |
getBotFrameworkSkill()
Gets the skill to create the conversation Id for. |
| java.lang.String |
getFromBotId()
Gets the id of the parent bot that is messaging the skill. |
| java.lang.String |
getFromBotOAuthScope()
Gets the oauth audience scope, used during token retrieval (either https://api. |
| void |
setActivity(Activity withActivity)
Sets the activity which will be sent to the skill. |
| void |
setBotFrameworkSkill(BotFrameworkSkill withBotFrameworkSkill)
Sets the skill to create the conversation Id for. |
| void |
setFromBotId(String withFromBotId)
Sets the id of the parent bot that is messaging the skill. |
| void |
setFromBotOAuthScope(String withFromBotOAuthScope)
Sets the oauth audience scope, used during token retrieval (either https://api. |
Methods inherited from java.lang.Object
Constructor Details
SkillConversationIdFactoryOptions
public SkillConversationIdFactoryOptions()
Method Details
getActivity
public Activity getActivity()
Gets the activity which will be sent to the skill.
Returns:
getBotFrameworkSkill
public BotFrameworkSkill getBotFrameworkSkill()
Gets the skill to create the conversation Id for.
Returns:
getFromBotId
public String getFromBotId()
Gets the id of the parent bot that is messaging the skill.
Returns:
getFromBotOAuthScope
public String getFromBotOAuthScope()
Gets the oauth audience scope, used during token retrieval (either https://api.getbotframework().com or bot app id).
Returns:
setActivity
public void setActivity(Activity withActivity)
Sets the activity which will be sent to the skill.
Parameters:
setBotFrameworkSkill
public void setBotFrameworkSkill(BotFrameworkSkill withBotFrameworkSkill)
Sets the skill to create the conversation Id for.
Parameters:
setFromBotId
public void setFromBotId(String withFromBotId)
Sets the id of the parent bot that is messaging the skill.
Parameters:
setFromBotOAuthScope
public void setFromBotOAuthScope(String withFromBotOAuthScope)
Sets the oauth audience scope, used during token retrieval (either https://api.getbotframework().com or bot app id).
Parameters: