Appearance
Home > @plaidev/karte-action-sdk > addChoiceAnswer
addChoiceAnswer() function
選択式のアンケート回答を追加する
Signature:
typescript
declare function addChoiceAnswer(questionId: string, choices: string[], validation?: {
isValid: boolean;
statePath: string;
}): void;
Parameters
Parameter | Type | Description |
---|---|---|
questionId | string | 質問ID |
choices | string[] | 回答内容 |
validation | (Optional) |
Returns:
void