mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Update 107.md
This commit is contained in:
parent
c0a7814776
commit
153857fb7a
5
107.md
5
107.md
|
@ -40,15 +40,14 @@ A `user` can publish these event kinds:
|
|||
The content of events can be transmitted in clear text (for public data) or as [NIP-59 Gift Wrap](https://github.com/staab/nips/blob/NIP-59/59.md).
|
||||
|
||||
### Intent Events
|
||||
Intent Events represent different actions that can be performed on a device. These actions can be triggered by a `user` or by another `device`. The content of the event is a JSON.
|
||||
Each `JSON` message `MUST` have a `type` field indicating the what the JSON represents. Possible types:
|
||||
Intent Events represent different actions that can be performed on a device. These actions can be triggered by a `user` or by another `device`. The content of the event is a `JSON` which `MUST` have a `type` field indicating the what the JSON represents. Possible types:
|
||||
|
||||
| Message Type | Sent By | Description |
|
||||
|--------------|----------------|------------------|
|
||||
| 0 | User | Configure Device |
|
||||
|
||||
### Event: Configure `device`
|
||||
This message is sent by a `user` to a `device`. The `device` saves the config locally and uses it.
|
||||
This message is sent by a `user` to a `device`. The `device` saves the config locally and then uses it.
|
||||
|
||||
**Event Content**:
|
||||
```json
|
||||
|
|
Loading…
Reference in New Issue
Block a user