Add typing event definition
This commit is contained in:
@@ -58,6 +58,13 @@ export interface RoomReceiptEvent {
|
||||
receipts: ReceiptEventEntry[];
|
||||
}
|
||||
|
||||
export interface RoomTypingEvent {
|
||||
time: number;
|
||||
type: "TypingEvent";
|
||||
room_id: string;
|
||||
user_ids: string[];
|
||||
}
|
||||
|
||||
export type WsMessage =
|
||||
| RoomMessageEvent
|
||||
| RoomReactionEvent
|
||||
|
||||
Reference in New Issue
Block a user