doc: event description

This commit is contained in:
Vlad Stan 2023-10-19 13:07:54 +03:00
parent d7c37b0042
commit 993fe1b883

2
107.md
View File

@ -34,7 +34,7 @@ The `device` can also push data such as sensor readings and updates.
A `device` or a `user` can publish these event kinds:
| Kind | | Description | NIP |
|---------|------------------|---------------------------------------------------------------------------------------------------------------|-----------------------------------------|
| `4 ` | `direct_message` | Communicate between `device`(s) and `user`(s). The messages can be plain-text or JSON. | [NIP04](https://github.com/nostr-protocol/nips/blob/master/04.md) |
| `4 ` | `direct_message` | Communicate between two `devices` or between a `device` and a `user`.<br/>The messages must be a JSON following the structure defined In this NIP. | [NIP04](https://github.com/nostr-protocol/nips/blob/master/04.md) |
### Event: Register a `device`