about summary refs log tree commit diff
path: root/Tests/LibMatrix.EventTypes.Abstractions.Tests/TestData/RoomMessageEvent.json
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibMatrix.EventTypes.Abstractions.Tests/TestData/RoomMessageEvent.json')
-rw-r--r--Tests/LibMatrix.EventTypes.Abstractions.Tests/TestData/RoomMessageEvent.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/LibMatrix.EventTypes.Abstractions.Tests/TestData/RoomMessageEvent.json b/Tests/LibMatrix.EventTypes.Abstractions.Tests/TestData/RoomMessageEvent.json
new file mode 100644
index 0000000..3072114
--- /dev/null
+++ b/Tests/LibMatrix.EventTypes.Abstractions.Tests/TestData/RoomMessageEvent.json
@@ -0,0 +1,18 @@
+{
+    "content": {
+        "body": "This is a test message",
+        "format": "org.matrix.custom.html",
+        "formatted_body": "This is a test message <b>with HTML!</b>",
+        "m.mentions": {
+            "user_ids": [
+                "@emma:rory.gay"
+            ]
+        },
+        "msgtype": "m.text"
+    },
+    "event_id": "$qBmS2SyNAA-ODcOZpAd_RRfApzXuMmy0VHsCqnMebzI",
+    "origin_server_ts": 1717100265714,
+    "sender": "@user:example.xyz",
+    "type": "m.room.message",
+    "unsigned": null
+}