Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/pretty-swans-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livekit-client': patch
---

Deprecate backwards incompatible chat message fields
3 changes: 3 additions & 0 deletions src/room/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface SendTextOptions {
topic?: string;
// replyToMessageId?: string;
destinationIdentities?: Array<string>;
/** @deprecated Use the Data Streams API instead: https://docs.livekit.io/transport/data/byte-streams/ */
attachments?: Array<File>;
onProgress?: (progress: number) => void;
attributes?: Record<string, string>;
Expand Down Expand Up @@ -115,7 +116,9 @@ export interface ChatMessage {
id: string;
timestamp: number;
message: string;
/** @deprecated No longer recommended, use the Text Streams API instead: https://docs.livekit.io/transport/data/text-streams/ */
editTimestamp?: number;
/** @deprecated Use the Data Streams API instead: https://docs.livekit.io/transport/data/byte-streams/ */
attachedFiles?: Array<File>;
}

Expand Down
Loading