diff --git a/changelog.d/16780.misc b/changelog.d/16780.misc
new file mode 100644
index 0000000000000000000000000000000000000000..c49dc2085e069343d6fc528a7954fd806106810b
--- /dev/null
+++ b/changelog.d/16780.misc
@@ -0,0 +1 @@
+Simplify event internal metadata class.
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 41b00a5cf7b4dab6b80c16ccf4ea0b17bb33aa43..b49b917b6ef40fe21c31fad2d8b834039f932914 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -26,7 +26,17 @@ import random
 import string
 from collections import OrderedDict
 from http import HTTPStatus
-from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, List, Optional, Tuple
+from typing import (
+    TYPE_CHECKING,
+    Any,
+    Awaitable,
+    Callable,
+    Dict,
+    List,
+    Optional,
+    Tuple,
+    cast,
+)
 
 import attr
 from typing_extensions import TypedDict