Add typing event definition

This commit is contained in:
2025-12-01 11:18:58 +01:00
parent 077c64be28
commit 32354f79ea

View File

@@ -58,6 +58,13 @@ export interface RoomReceiptEvent {
receipts: ReceiptEventEntry[]; receipts: ReceiptEventEntry[];
} }
export interface RoomTypingEvent {
time: number;
type: "TypingEvent";
room_id: string;
user_ids: string[];
}
export type WsMessage = export type WsMessage =
| RoomMessageEvent | RoomMessageEvent
| RoomReactionEvent | RoomReactionEvent