{"id":"89ebe3d5137fe2e13ba616ccfb58559f7dd054c4d077f895a7197eae31aad9de","pubkey":"2b39b4ffe62933df970e19366c22c1e092f953f83fcfed754e0f04d5a3b459f9","created_at":1780003211,"kind":30817,"tags":[["d","nip-c7"],["title","NIP-C7: Chats"],["summary","Kind 9, a chat message, whose replies are further kind 9 events quoting their parent."],["s","draft"],["t","nostr"],["t","nip"],["k","9","Chat Message"],["alt","A specification: NIP-C7: Chats"],["client","openspecs-import"],["published_at","1732200923"],["proxy","https://github.com/nostr-protocol/nips/blob/656cecc7c0a815b6a2b218d3b5d6f078b3f4dbab/C7.md","web"],["x","1c7ee267bfae863a513d53af42ef2170eb976344202a10db6a7c9d85d7c28b5e"]],"content":"NIP-C7\n======\n\nChats\n-----\n\n`draft` `optional`\n\nA chat message is a `kind 9` event.\n\n```json\n{\n  \"kind\": 9,\n  \"content\": \"GM\",\n  \"tags\": []\n}\n```\n\nA reply to a `kind 9` is an additional `kind 9` which quotes the parent using a `q` tag.\n\n```json\n{\n  \"kind\": 9,\n  \"content\": \"nostr:nevent1...\\nyes\",\n  \"tags\": [\n    [\"q\", <event-id>, <relay-url>, <pubkey>]\n  ]\n}\n```\n\nClients that render a \"chat view\" as a stream of ordered events MUST only fetch `kind 9` events in order to prevent missing context across implementations. Other content types MAY be quoted within in a `kind 9` following [NIP 18](nostr:naddr1qvzqqqrcvypzq2eeknl7v2fnm7tsuxfkds3vrcyjl9fls070a465urcy6k3mgk0eqqrxu6ts95cns50ak7w).\n","sig":"56090918171dfa50fe86c8042ea1b42f7f007554b773b9984db94332d6cb4a6167dec14a175dfd18e41f0f0da97b9f8d32a14ad9b6e736c1b5dc54a27b865e91"}