Highlights

This commit is contained in:
Thomas 2023-02-28 09:44:16 +01:00
parent 00dc874f59
commit 0b4fe77b8c

4
41.md
View File

@ -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