diff options
author | metamuffin <metamuffin@disroot.org> | 2022-09-10 18:09:14 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-09-10 18:09:14 +0200 |
commit | d889e1b572952c5777fc2bb147f04ad8baf7f497 (patch) | |
tree | c61a68864314290c85532311bb1cc3f5181f72cc /common/packets.d.ts | |
parent | e45770adfcc46fe5f0350767801204efdb14313b (diff) | |
download | keks-meet-d889e1b572952c5777fc2bb147f04ad8baf7f497.tar keks-meet-d889e1b572952c5777fc2bb147f04ad8baf7f497.tar.bz2 keks-meet-d889e1b572952c5777fc2bb147f04ad8baf7f497.tar.zst |
images in chat
Diffstat (limited to 'common/packets.d.ts')
-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 |