ConversationReference 類別
- java.
lang. Object - com.
microsoft. bot. schema. ConversationReference
- com.
public class ConversationReference
與交談中特定點相關的物件。
建構函式摘要
| 建構函式 | Description | |
|---|---|---|
| ConversationReference() | ||
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
|
static
Conversation |
clone(ConversationReference conversationReference)
執行對話 |
| java.lang.String |
getActivityId()
(選擇性)要參考的活動標識碼。 |
|
Channel |
getBot()
參與此交談的 Bot。 |
| java.lang.String |
getChannelId()
取得通道 |
| Activity |
getContinuationActivity()
從交談參考建立 Activity,因為它會張貼至 Bot。 |
|
Conversation |
getConversation()
交談參考。 |
| java.lang.String |
getLocale()
取得地區設定值。 |
| java.lang.String |
getServiceUrl()
執行有關參考交談之作業的服務端點。 |
|
Channel |
getUser()
(選擇性)參與此交談的使用者。 |
| void |
setActivityId(String withActivityId)
(選擇性)要參考的活動標識碼。 |
| void |
setBot(ChannelAccount withBot)
參與此交談的 Bot。 |
| void |
setChannelId(String withChannelId)
設定通道 |
| void |
setConversation(ConversationAccount withConversation)
交談參考。 |
| void |
setLocale(String withLocale)
設定地區設定值。 |
| void |
setServiceUrl(String withServiceUrl)
執行有關參考交談之作業的服務端點。 |
| void |
setUser(ChannelAccount withUser)
(選擇性)參與此交談的使用者。 |
方法繼承來源 java.lang.Object
建構函式詳細資料
ConversationReference
public ConversationReference()
方法詳細資料
clone
public static ConversationReference clone(ConversationReference conversationReference)
執行 ConversationReference 的深層複本。
參數:
傳回:
getActivityId
public String getActivityId()
(選擇性)要參考的活動標識碼。
傳回:
getBot
public ChannelAccount getBot()
參與此交談的 Bot。
傳回:
getChannelId
public String getChannelId()
取得 channelId 值。
傳回:
getContinuationActivity
getConversation
public ConversationAccount getConversation()
交談參考。
傳回:
getLocale
public String getLocale()
取得地區設定值。
傳回:
getServiceUrl
public String getServiceUrl()
執行有關參考交談之作業的服務端點。
傳回:
getUser
public ChannelAccount getUser()
(選擇性)參與此交談的使用者。
傳回:
setActivityId
public void setActivityId(String withActivityId)
(選擇性)要參考的活動標識碼。
參數:
setBot
public void setBot(ChannelAccount withBot)
參與此交談的 Bot。
參數:
setChannelId
public void setChannelId(String withChannelId)
設定 channelId 值。
參數:
setConversation
public void setConversation(ConversationAccount withConversation)
交談參考。
參數:
setLocale
public void setLocale(String withLocale)
設定地區設定值。
參數:
setServiceUrl
public void setServiceUrl(String withServiceUrl)
執行有關參考交談之作業的服務端點。
參數:
setUser
public void setUser(ChannelAccount withUser)
(選擇性)參與此交談的使用者。
參數: