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