mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-13 23:39:08 -05:00
change 'download' from boolean to string
This commit is contained in:
parent
b49c491880
commit
76b35b9c82
4
94.md
4
94.md
|
@ -21,7 +21,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
|
|||
* `magnet` (optional) URI to magnet file
|
||||
* `i` (optional) torrent infohash
|
||||
* `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client
|
||||
* `download` (optional) expresses that this file is intended to be presented as a download link, rather than played inline. Client's may choose to ignore this.
|
||||
* `download` (optional) expresses that this file is intended to be presented as a download link, rather than played inline. Client's may choose to ignore this. Use "1" for true, "0" for false.
|
||||
|
||||
```json
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
|
|||
["magnet",<magnet URI> ],
|
||||
["i",<torrent infohash>],
|
||||
["blurhash", <value>],
|
||||
["download", <boolean>]
|
||||
["download", <value>]
|
||||
],
|
||||
"content": <description>,
|
||||
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
||||
|
|
Loading…
Reference in New Issue
Block a user