Skip to content

Instantly share code, notes, and snippets.

@t3chguy
Created July 25, 2023 11:57
Show Gist options
  • Save t3chguy/c6331167a463ec8cf56f6d98a61500e7 to your computer and use it in GitHub Desktop.
Save t3chguy/c6331167a463ec8cf56f6d98a61500e7 to your computer and use it in GitHub Desktop.
{
"widget_id": "$arbitrary_string",
"widget": {
"creatorUserId": "@user:example.org",
"id": "$the_same_widget_id",
"type": "m.custom",
"waitForIframeLoad": true,
"name": "My Widget Name Here",
"avatar_url": "mxc://example.org/abc123",
"url": "https://example.org/widget.html",
"data": {
"title": "Subtitle goes here"
}
},
"layout": {
"container": "top",
"index": 0,
"width": 65,
"height": 50
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment