mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
doc: event description
This commit is contained in:
parent
d7c37b0042
commit
993fe1b883
2
107.md
2
107.md
|
@ -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:
|
A `device` or a `user` can publish these event kinds:
|
||||||
| Kind | | Description | NIP |
|
| 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`
|
### Event: Register a `device`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user