mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-25 17:21:52 +01:00
Merge 16315dde0807f6e68bb23ded049f547fc6393c2f into 0619f370bca3485bb9c5870bc2defa03c7c3d10e
This commit is contained in:
commit
5680d313a5
20
25.md
20
25.md
@ -86,3 +86,23 @@ 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
|
||||
}
|
||||
```
|
||||
|
||||
Clients MAY offer to tally results by Web of Trust scores.
|
||||
|
Loading…
x
Reference in New Issue
Block a user