Reaction polling

This commit is contained in:
Vitor Pamplona 2024-06-22 12:01:54 -04:00
parent 946d8de0ad
commit 3465f0e156

19
25.md
View File

@ -71,3 +71,22 @@ content as an emoji if shortcode is specified.
```
The content can be set only one `:shortcode:`. And emoji tag should be one.
Polling
-------
Authors can request a reaction poll any event kind by using the tag `poll`. Supporting clients SHOULD present pool options as reaction options, tally and render results as part of the display of the event.
For example:
```js
{
"kind": 1,
"content": "Do you folks like pizza?",
"tags": [
["poll", "👍", "👎"]
],
...other fields
}
```