From 3465f0e156607073c3023a0e178ea6eb171aaf9e Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sat, 22 Jun 2024 12:01:54 -0400 Subject: [PATCH] Reaction polling --- 25.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/25.md b/25.md index 17c203e1..24553afe 100644 --- a/25.md +++ b/25.md @@ -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 +} +``` +