mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Highlights
This commit is contained in:
parent
00dc874f59
commit
0b4fe77b8c
4
41.md
4
41.md
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
To create a poll, include a `poll` tag in the message event. with the following format:
|
To create a poll, include a `poll` tag in the message event. with the following format:
|
||||||
|
|
||||||
```json
|
```text
|
||||||
tag: poll
|
tag: poll
|
||||||
options:
|
options:
|
||||||
- <multi|single> allow others to reply with one or multiple options
|
- <multi|single> allow others to reply with one or multiple options
|
||||||
|
@ -39,7 +39,7 @@ options:
|
||||||
To vote for a poll, you have to send an event kind `9`.\
|
To vote for a poll, you have to send an event kind `9`.\
|
||||||
The format of the event is the following:
|
The format of the event is the following:
|
||||||
|
|
||||||
```json
|
```text
|
||||||
kind: 9
|
kind: 9
|
||||||
content: <reason for voting> // Can be empty string
|
content: <reason for voting> // Can be empty string
|
||||||
tag: poll_r // for poll response
|
tag: poll_r // for poll response
|
||||||
|
|
Loading…
Reference in New Issue
Block a user