Updated Enabling the widget (markdown)

DemonWareXT 2021-12-19 00:23:43 +01:00
parent 7539c22904
commit 6caf649211
1 changed files with 16 additions and 13 deletions

@ -6,19 +6,22 @@
```json
{
"stickerpicker": {
"content": {
"type": "m.stickerpicker",
"url": "https://your.sticker.picker.url/?theme=$theme",
"name": "Stickerpicker",
"data": {}
},
"sender": "@you:matrix.server.name",
"state_key": "stickerpicker",
"type": "m.widget",
"id": "stickerpicker"
}
}
"type": "m.widgets",
"content": {
"stickerpicker": {
"content": {
"type": "m.stickerpicker",
"url": "https://demonwarext.github.io/stickerpicker/web/?theme=$theme",
"name": "Stickerpicker",
"data": {}
},
"sender": "@you:matrix.server.name",
"state_key": "stickerpicker",
"type": "m.widget",
"id": "stickerpicker"
}
}
}
```
If you do not yet have a `m.widgets` event, simply create it with that content.