提供: Bright Pattern Documentation
• 日本語

Revision as of 10:11, 21 September 2026 by BpDeeplTranslateMaintenance (talk | contribs) (Updated via BpDeeplTranslate extension)

< 前へ | 次へ >
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
移動先: 案内検索
• English

replaceNote

既存のメモをすべて消去し、インタラクションに新規のメモを追加します。interactionId が指定されていない場合、このメソッドは現在アクティブなインタラクションのメモを設定します。

リクエスト

構文

replaceNote(note: string, interactionId?: string): Promise<OPERATIONRESULT<null>>

パラメータ

パラメータ パラメータ値 データ型 オプション/必須 説明
文字列 必須 そのインタラクションについて、その他すべての既存のメモを置き換える対象となるメモです。
interactionId 文字列 オプション 置き換えられるメモが適用されるインタラクションの固有のidです。

リクエスト例

    replaceNoteButton.onclick = () => {

const note = noteInput.値

const itemId = notesInteractionIdInput.値

adApi.replaceNote(note, itemId)

}

戻り値

null

< 前へ | 次へ >