Add backlog to type definition

This commit is contained in:
Hamcha 2019-06-11 15:50:48 +02:00
parent 4a1d6c6f1c
commit 6d9d03dc44
Signed by: hamcha
GPG key ID: A40413D21021EAEE

View file

@ -35,7 +35,8 @@ export interface RoomMessage {
} }
export interface RoomServerMessage { export interface RoomServerMessage {
time: "string"; roomid: string;
time: string;
type: "event" | "message" | "welcome"; type: "event" | "message" | "welcome";
event?: RoomEvent; event?: RoomEvent;
message?: RoomMessage; message?: RoomMessage;