Skip to content
On this page

Home > @plaidev/karte-action-sdk > addChoiceAnswer

addChoiceAnswer() function

選択式のアンケート回答を追加する

Signature:

typescript
declare function addChoiceAnswer(questionId: string, choices: string[], validation?: {
    isValid: boolean;
    statePath: string;
}): void;

Parameters

ParameterTypeDescription
questionIdstring質問ID
choicesstring[]回答内容
validation(Optional)

Returns:

void