mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
m->d: Support attachment body data as alt text
This commit is contained in:
parent
60cf40680f
commit
84d791cd8a
3 changed files with 48 additions and 6 deletions
2
types.d.ts
vendored
2
types.d.ts
vendored
|
@ -91,6 +91,7 @@ export namespace Event {
|
|||
export type M_Room_Message_File = {
|
||||
msgtype: "m.file" | "m.image" | "m.video" | "m.audio"
|
||||
body: string
|
||||
filename?: string
|
||||
url: string
|
||||
info?: any
|
||||
"m.relates_to"?: {
|
||||
|
@ -107,6 +108,7 @@ export namespace Event {
|
|||
export type M_Room_Message_Encrypted_File = {
|
||||
msgtype: "m.file" | "m.image" | "m.video" | "m.audio"
|
||||
body: string
|
||||
filename?: string
|
||||
file: {
|
||||
url: string
|
||||
iv: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue