SkillHttpClient 類別
- java.
lang. Object - com.
microsoft. bot. builder. skills. BotFrameworkClient - com.
microsoft. bot. integration. BotFrameworkHttpClient - com.
microsoft. bot. integration. SkillHttpClient
- com.
- com.
- com.
public class SkillHttpClient
extends BotFrameworkHttpClient
BotFrameworkHttpClient 特製化技能,可封裝對話標識符產生。
建構函式摘要
| 建構函式 | Description |
|---|---|
| SkillHttpClient(CredentialProvider credentialProvider, SkillConversationIdFactoryBase conversationIdFactory, ChannelProvider channelProvider) |
初始化 SkillHttpClient 類別的新實例。 |
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
|
java.util.concurrent.CompletableFuture<Typed |
<T>postActivity(String fromBotId, BotFrameworkSkill toSkill, URI callbackUrl, Activity activity, Class<T> type)
將活動轉送至技能(Bot)。 |
|
java.util.concurrent.CompletableFuture<Typed |
<T>postActivity(String originatingAudience, String fromBotId, BotFrameworkSkill toSkill, URI callbackUrl, Activity activity, Class<T> type)
使用 Skill |
方法繼承來源 BotFrameworkHttpClient
方法繼承來源 java.lang.Object
建構函式詳細資料
SkillHttpClient
public SkillHttpClient(CredentialProvider credentialProvider, SkillConversationIdFactoryBase conversationIdFactory, ChannelProvider channelProvider)
初始化 SkillHttpClient 類別的新實例。
參數:
方法詳細資料
<T>postActivity
public CompletableFuture
將活動轉送至技能(Bot)。
參數:
傳回:
<T>postActivity
public CompletableFuture
使用 SkillConversationIdFactory 來建立或擷取技能交談標識碼,並傳送活動。
參數:
傳回: