From d889e1b572952c5777fc2bb147f04ad8baf7f497 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 10 Sep 2022 18:09:14 +0200 Subject: images in chat --- common/packets.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/packets.d.ts b/common/packets.d.ts index d7fe5b1..4c4f8b2 100644 --- a/common/packets.d.ts +++ b/common/packets.d.ts @@ -22,9 +22,10 @@ export interface RelayMessageWrapper { } export interface RelayMessage { - chat?: { content: string }, + chat?: ChatMessage, identify?: { username: string } offer?: F_RTCSessionDescriptionInit, answer?: F_RTCSessionDescriptionInit, ice_candidate?: F_RTCIceCandidateInit, } +export interface ChatMessage { text?: string, image?: string } \ No newline at end of file -- cgit v1.2.3-70-g09d2