m2d reactions (untested)

This commit is contained in:
Cadence Ember
2023-07-04 17:19:17 +12:00
parent 39cdba9f90
commit 61120d92c6
7 changed files with 58 additions and 11 deletions

8
types.d.ts vendored
View File

@@ -62,6 +62,14 @@ namespace Event {
display_name?: string
avatar_url?: string
}
export type M_Reaction = {
"m.relates_to": {
rel_type: "m.annotation"
event_id: string // the event that was reacted to
key: string // the unicode emoji, mxc uri, or reaction text
}
}
}
namespace R {