mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 00:42:30 +00:00
- Move from root publishing to clean `dist/` directory - Create `scripts/build-dist.mjs` to orchestrate build and copy assets - Update `package.json` build script - Update `netlify.toml` to publish `dist/` - Ignore `dist/` in `.gitignore` Co-authored-by: PR0M3TH3AN <[email protected]>
30 lines
365 B
Markdown
30 lines
365 B
Markdown
NIP-C7
|
|
======
|
|
|
|
Chats
|
|
-----
|
|
|
|
`draft` `optional`
|
|
|
|
A chat message is a `kind 9` event.
|
|
|
|
```json
|
|
{
|
|
"kind": 9,
|
|
"content": "GM",
|
|
"tags": []
|
|
}
|
|
```
|
|
|
|
A reply to a `kind 9` is an additional `kind 9` which quotes the parent using a `q` tag.
|
|
|
|
```json
|
|
{
|
|
"kind": 9,
|
|
"content": "nostr:nevent1...\nyes",
|
|
"tags": [
|
|
["q", <event-id>, <relay-url>, <pubkey>]
|
|
]
|
|
}
|
|
```
|