pollOptions | PollOption[] | The list of options available in the poll. | ❌ |
addPollOption | ZeroArgVoidReturns | Adds a new option to the poll. | ❌ |
updatePollOption | TwoArgVoidReturns<string, number> | Updates a specific poll option by index. | ❌ |
removePollOption | OneArgVoidReturns | Removes a poll option by index. | ❌ |
createPollConversation | ZeroArgVoidReturns | Creates a new poll conversation. | ❌ |
changePollText | OneArgVoidReturns <React.ChangeEvent<HTMLTextAreaElementS> S> | Updates the poll question text. | ❌ |
pollText | string | The text of the poll question. | ❌ |
updatePollExpirationDate | OneArgVoidReturns number | null | Updates the expiration date of the poll. | ❌ |
pollExpirationDate | number | null | The expiration date of the poll (timestamp), or null . | ❌ |
advancedOptions | AdvancedPollOptions | Configuration options for advanced poll settings. | ❌ |
updateAdvancedOptions | OneArgVoidReturns React.ChangeEvent<HTMLInputElementS> | SelectChangeEvent<numberS> | Updates advanced poll settings based on user input. | ❌ |