Create Text Poll widget
0.1.0
createTextPollWidget({ question: "<widget question>", programId: "xxxx", options: [{ description: "<option description>" }],}).then(textPollWidget => console.log(textPollWidget)) Copy
createTextPollWidget({ question: "<widget question>", programId: "xxxx", options: [{ description: "<option description>" }],}).then(textPollWidget => console.log(textPollWidget))
Generated using TypeDoc
Description
Create Text Poll widget
Async
Since
0.1.0
Example