ConversationReference クラス

  • java.lang.Object
    • com.microsoft.bot.schema.ConversationReference

public class ConversationReference

会話内の特定のポイントに関連するオブジェクト。

コンストラクターの概要

コンストラクター 説明
ConversationReference()

メソッドの概要

修飾子と型 メソッドと説明
static ConversationReference clone(ConversationReference conversationReference)

会話参照の詳細コピーを実行します。

java.lang.String getActivityId()

(省略可能)参照するアクティビティの ID。

ChannelAccount getBot()

この会話に参加しているボット。

java.lang.String getChannelId()

チャネルID 値を取得します。

Activity getContinuationActivity()

ボットに投稿されるときに、会話参照から Activity を作成します。

ConversationAccount getConversation()

会話参照。

java.lang.String getLocale()

ロケール値を取得します。

java.lang.String getServiceUrl()

参照先の会話に関する操作が実行される可能性があるサービス エンドポイント。

ChannelAccount getUser()

(省略可能)この会話に参加しているユーザー。

void setActivityId(String withActivityId)

(省略可能)参照するアクティビティの ID。

void setBot(ChannelAccount withBot)

この会話に参加しているボット。

void setChannelId(String withChannelId)

チャネルID 値を設定します。

void setConversation(ConversationAccount withConversation)

会話参照。

void setLocale(String withLocale)

ロケール値を設定します。

void setServiceUrl(String withServiceUrl)

参照先の会話に関する操作が実行される可能性があるサービス エンドポイント。

void setUser(ChannelAccount withUser)

(省略可能)この会話に参加しているユーザー。

メソッドの継承元: java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

コンストラクターの詳細

ConversationReference

public ConversationReference()

メソッドの詳細

clone

public static ConversationReference clone(ConversationReference conversationReference)

ConversationReference のディープ コピーを実行します。

パラメーター:

conversationReference - コピーする ConversationReference。

戻り値:

ConversationReference の複製。

getActivityId

public String getActivityId()

(省略可能)参照するアクティビティの ID。

戻り値:

activityId 値

getBot

public ChannelAccount getBot()

この会話に参加しているボット。

戻り値:

ボットの値

getChannelId

public String getChannelId()

channelId 値を取得します。

戻り値:

channelId 値

getContinuationActivity

public Activity getContinuationActivity()

ボットに投稿されるときに、会話参照から Activity を作成します。

戻り値:

継続アクティビティ。

getConversation

public ConversationAccount getConversation()

会話参照。

戻り値:

会話の値

getLocale

public String getLocale()

ロケール値を取得します。

戻り値:

ロケール値

getServiceUrl

public String getServiceUrl()

参照先の会話に関する操作が実行される可能性があるサービス エンドポイント。

戻り値:

serviceUrl 値

getUser

public ChannelAccount getUser()

(省略可能)この会話に参加しているユーザー。

戻り値:

ユーザー値

setActivityId

public void setActivityId(String withActivityId)

(省略可能)参照するアクティビティの ID。

パラメーター:

withActivityId - 設定する activityId 値

setBot

public void setBot(ChannelAccount withBot)

この会話に参加しているボット。

パラメーター:

withBot - 設定するボット値

setChannelId

public void setChannelId(String withChannelId)

channelId 値を設定します。

パラメーター:

withChannelId - 設定する channelId 値

setConversation

public void setConversation(ConversationAccount withConversation)

会話参照。

パラメーター:

withConversation - 設定する会話値

setLocale

public void setLocale(String withLocale)

ロケール値を設定します。

パラメーター:

withLocale - 設定するロケール値

setServiceUrl

public void setServiceUrl(String withServiceUrl)

参照先の会話に関する操作が実行される可能性があるサービス エンドポイント。

パラメーター:

withServiceUrl - 設定する serviceUrl 値

setUser

public void setUser(ChannelAccount withUser)

(省略可能)この会話に参加しているユーザー。

パラメーター:

withUser - 設定するユーザー値

適用対象