Add typing event definition
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user