SkillConversationIdFactoryBase class

スキル会話の一意の会話 ID を作成するために使用されるファクトリのメソッドを定義します。

メソッド

createSkillConversationId(ConversationReference)

呼び出し元の ConversationReference に基づいてスキル会話の会話 ID を作成します。

createSkillConversationIdWithOptions(SkillConversationIdFactoryOptions)

呼び出し元の ConversationReference に基づいてスキル会話の会話 ID を作成します。

deleteConversationReference(string)

ConversationReference を削除します。

getConversationReference(string)

skillConversationId の createSkillConversationId() を使用して作成された ConversationReference を取得します。

getSkillConversationReference(string)

skillConversationId の createSkillConversationId() を使用して作成された SkillConversationReference を取得します。

メソッドの詳細

createSkillConversationId(ConversationReference)

警告

この API は非推奨になりました。

Method is deprecated, please use createSkillConversationIdWithOptions() with SkillConversationIdFactoryOptions instead.

呼び出し元の ConversationReference に基づいてスキル会話の会話 ID を作成します。

function createSkillConversationId(_conversationReference: ConversationReference): Promise<string>

パラメーター

_conversationReference

ConversationReference

スキルの呼び出し元 ConversationReference。

戻り値

Promise<string>

注釈

要求 URL で返された文字列を使用でき、特殊文字を含めないようにする必要があります。 スキルとの通信に使用される一意の会話 ID を返します。

createSkillConversationIdWithOptions(SkillConversationIdFactoryOptions)

呼び出し元の ConversationReference に基づいてスキル会話の会話 ID を作成します。

function createSkillConversationIdWithOptions(_options: SkillConversationIdFactoryOptions): Promise<string>

パラメーター

戻り値

Promise<string>

注釈

要求 URL で返された文字列を使用でき、特殊文字を含めないようにする必要があります。 スキルとの通信に使用される一意の会話 ID を返します。

deleteConversationReference(string)

ConversationReference を削除します。

function deleteConversationReference(skillConversationId: string): Promise<void>

パラメーター

skillConversationId

string

createSkillConversationId() を使用して作成されたスキル conversationId。

戻り値

Promise<void>

getConversationReference(string)

警告

この API は非推奨になりました。

Method is deprecated, please use getSkillConversationReference() instead.

skillConversationId の createSkillConversationId() を使用して作成された ConversationReference を取得します。

function getConversationReference(_skillConversationId: string): Promise<ConversationReference>

パラメーター

_skillConversationId

string

createSkillConversationId() を使用して作成されたスキル conversationId。

戻り値

Promise<ConversationReference>

注釈

skillConversationId の呼び出し元の ConversationReference を返します。 見つからない場合は null。

getSkillConversationReference(string)

skillConversationId の createSkillConversationId() を使用して作成された SkillConversationReference を取得します。

function getSkillConversationReference(_skillConversationId: string): Promise<SkillConversationReference>

パラメーター

_skillConversationId

string

skillConversationId の createSkillConversationId の間に使用される SkillConversationReference を取得します。

戻り値