product:chat
Cast vote
Changed onCast a vote on a poll
Sends events:
- feeds.poll.vote_casted
- feeds.poll.vote_changed
- feeds.poll.vote_removed
- poll.vote_casted
- poll.vote_changed
- poll.vote_removed
post/messages/{message_id}/polls/{poll_id}/vote
Request
- Base URLhttps://chat.stream-io-api.com
- URLhttps://chat.stream-io-api.com/messages/{message_id}/polls/{poll_id}/vote
- Auth
- API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
- or API key in query parameter api_key and API key in header Stream-Auth-Type
Path parameters
message_idstring required
poll_idstring required
Poll ID
Request body
Response
Successful response
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
- info
added the new optional request property
- info