ConversationReference 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
與交談中特定點相關的物件。
public class ConversationReference
type ConversationReference = class
Public Class ConversationReference
- 繼承
-
ConversationReference
建構函式
屬性
| 名稱 | Description |
|---|---|
| ActivityId |
取得或設定(可選)活動的 ID。 |
| Bot |
讓或設定(可選)機器人參與此對話。 |
| ChannelId |
取得或設定該對話所屬頻道的 ID。 |
| Conversation |
取得或設定對話的參考。 |
| Locale |
取得或設定(可選)BCP-47 區域名稱作為參考對話。 |
| ServiceUrl |
取得或設定(可選)服務端點,可用於執行與所參考對話相關的操作。 |
| User |
讓或設定(可選)使用者參與此對話。 |
方法
| 名稱 | Description |
|---|---|
| GetContinuationActivity() |
從交談參考建立 Activity,因為它會張貼至 Bot。 |