Skip to content

Commit

Permalink
Add encodedContent property to DecodedMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Dec 19, 2024
1 parent a2fda29 commit db01f7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdks/browser-sdk/src/DecodedMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export class DecodedMessage {

parameters: Map<string, string>;

encodedContent: SafeMessage["content"];

senderInboxId: string;

sentAtNs: bigint;
Expand All @@ -37,6 +39,7 @@ export class DecodedMessage {
this.sentAtNs = message.sentAtNs;
this.conversationId = message.convoId;
this.senderInboxId = message.senderInboxId;
this.encodedContent = message.content;

switch (message.kind) {
case GroupMessageKind.Application:
Expand Down

0 comments on commit db01f7f

Please sign in to comment.