number of votes for poll option (option) in poll (poll)
Returns the number of votes for a given option in a given poll.
Requires the following blocks to be present in the project: mastodon login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
option | String | ✓ | The option to check. |
poll | poll | ✓ | The poll to check. |
Output
Number - The number of votes for a given option in a given poll. Returns 0 if the option does not exist.