Updated Enabling the widget (markdown)
parent
7539c22904
commit
6caf649211
|
@ -6,19 +6,22 @@
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"stickerpicker": {
|
"type": "m.widgets",
|
||||||
"content": {
|
"content": {
|
||||||
"type": "m.stickerpicker",
|
"stickerpicker": {
|
||||||
"url": "https://your.sticker.picker.url/?theme=$theme",
|
"content": {
|
||||||
"name": "Stickerpicker",
|
"type": "m.stickerpicker",
|
||||||
"data": {}
|
"url": "https://demonwarext.github.io/stickerpicker/web/?theme=$theme",
|
||||||
},
|
"name": "Stickerpicker",
|
||||||
"sender": "@you:matrix.server.name",
|
"data": {}
|
||||||
"state_key": "stickerpicker",
|
},
|
||||||
"type": "m.widget",
|
"sender": "@you:matrix.server.name",
|
||||||
"id": "stickerpicker"
|
"state_key": "stickerpicker",
|
||||||
}
|
"type": "m.widget",
|
||||||
}
|
"id": "stickerpicker"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
If you do not yet have a `m.widgets` event, simply create it with that content.
|
If you do not yet have a `m.widgets` event, simply create it with that content.
|
||||||
|
|
Loading…
Reference in New Issue