out-of-your-element/types.d.ts

25 lines
418 B
TypeScript
Raw Normal View History

2023-05-04 20:25:00 +00:00
export type AppServiceRegistrationConfig = {
id: string
as_token: string
hs_token: string
url: string
sender_localpart: string
protocols: [string]
rate_limited: boolean
}
2023-04-25 20:06:08 +00:00
export type M_Room_Message_content = {
msgtype: "m.text"
body: string
formatted_body?: "org.matrix.custom.html"
format?: string
}
2023-05-04 20:25:00 +00:00
export type R_RoomCreated = {
room_id: string
}
export type R_FileUploaded = {
content_uri: string
}