Add support for more file formats
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { APIClient } from "./ApiClient";
|
||||
import type { MessageType } from "./matrix/MatrixApiEvent";
|
||||
|
||||
interface BaseRoomEvent {
|
||||
time: number;
|
||||
@@ -8,8 +9,6 @@ interface BaseRoomEvent {
|
||||
origin_server_ts: number;
|
||||
}
|
||||
|
||||
type MessageType = "m.text" | "m.image" | string;
|
||||
|
||||
export interface RoomMessageEvent extends BaseRoomEvent {
|
||||
type: "RoomMessageEvent";
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user