Build chat bots with blocks

poll with options (options) expires in (expires) allow multiple choices? (multiple)

In Mastodon → Statuses; Mastodon → Polls

Jump to block

Attach a poll with the specified options.

Requires the following blocks to be present in the project: mastodon login


Parameter name Parameter type Required? Description
options Array The options on this poll.
expires time When this poll should close.
multiple Boolean Whether users should be allowed to pick multiple choices.


attachment - The resulting poll.