From 507f4eac70f4c14091f3e07b883fb9badb0d3851 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 8 Jun 2023 17:38:56 +0300 Subject: [PATCH] matrix: add more event examples --- pages/matrix.markdown | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/pages/matrix.markdown b/pages/matrix.markdown index 4313f9b..9abcf43 100644 --- a/pages/matrix.markdown +++ b/pages/matrix.markdown @@ -315,6 +315,38 @@ Sample events for `/devtools` } ``` +```json5 +// m.room.avatar +{ + url: "mxc://example.org/YouShouldKnowHowToGetThis", +} +``` + +````json5 +// m.room.name +{ + "name": "Room Awesome!" +} + +```json5 +// m.space.parent +// state key is room id with ! +{ + "via": [ + "example.com", + "example.net", + "example.org" + ] +} +```` + +```json5 +// m.room.topic +{ + topic: "This is my awesome topic \n Dare to disagree!", +} +``` + ### What are these idlekicks for inactivity, why are they for? Some Matrix rooms decide to connect their channel to IRC maintaining the same users on both sides, which can be heavy for the IRC network depending on bridge type of which there are three "major" variants: