summary refs log tree commit diff
path: root/docs/templates.md
diff options
context:
space:
mode:
authorMarcus <bubu@bubu1.eu>2021-11-30 12:49:20 +0100
committerGitHub <noreply@github.com>2021-11-30 11:49:20 +0000
commita9481223d1d5a8b3bf0d7ce2140dd3c919481f4f (patch)
tree828e25043432e717c0dc6d66ac20a7c6cf80b108 /docs/templates.md
parentConvert status codes to `HTTPStatus` in `tests.rest.admin` (#11455) (diff)
downloadsynapse-a9481223d1d5a8b3bf0d7ce2140dd3c919481f4f.tar.xz
Improved push typing (#11409)
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
Diffstat (limited to 'docs/templates.md')
-rw-r--r--docs/templates.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/templates.md b/docs/templates.md
index a240f58b54..2b66e9d862 100644
--- a/docs/templates.md
+++ b/docs/templates.md
@@ -71,7 +71,12 @@ Below are the templates Synapse will look for when generating the content of an
                 * `sender_avatar_url`: the avatar URL (as a `mxc://` URL) for the event's
                   sender
                 * `sender_hash`: a hash of the user ID of the sender
+                * `msgtype`: the type of the message
+                * `body_text_html`: html representation of the message
+                * `body_text_plain`: plaintext representation of the message
+                * `image_url`: mxc url of an image, when "msgtype" is "m.image"
         * `link`: a `matrix.to` link to the room
+        * `avator_url`: url to the room's avator
     * `reason`: information on the event that triggered the email to be sent. It's an
       object with the following attributes:
         * `room_id`: the ID of the room the event was sent in