Update Image Prediction widget option
0.1.0
updateImagePredictionWidgetOption({ widgetId: "xxxx", optionId: "<widget option id>", rewardItemId: "yyy-ccvv-qqqq", rewardItemAmount: 100, description: "<updated description>", isCorrect: true, imageUrl: "<url for option image>"}).then(widget => console.log(widget)) Copy
updateImagePredictionWidgetOption({ widgetId: "xxxx", optionId: "<widget option id>", rewardItemId: "yyy-ccvv-qqqq", rewardItemAmount: 100, description: "<updated description>", isCorrect: true, imageUrl: "<url for option image>"}).then(widget => console.log(widget))
Generated using TypeDoc
Description
Update Image Prediction widget option
Async
Since
0.1.0
Example