diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/packets.d.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 |