Chat JavaScript v4
Chat JavaScript
Chat
JavaScript
Version 4
Home
/
Chat
/
JavaScript
/
Message
Retrieve a poll
Copy link
You can retrieve a specific poll by creating and passing the PollRetrievalParams
parameters in the sb.poll.get()
method.
PollRetrievalParams
Copy link
Parameter name | Type | Description |
---|---|---|
channelUrl | string | Specifies the URL of the channel. |
channelType | ChannelType | Specifies the type of the channel. |
pollId | number | Specifies the unique ID of a poll. |