Skip to content

Commit

Permalink
fix: Add 'isViewOnce' in message interface (#2359)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinybergamo authored Oct 24, 2024
1 parent 1390a40 commit cd9a10b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/model/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export interface Message {
mediaKeyTimestamp: number;
width: number;
height: number;
/** exists when `type` is set to {@link MessageType.VIDEO} || {@link MessageType.IMAGE} */
isViewOnce?: boolean;
broadcast: boolean;
/** array of the users who were mentioned in this message; given in the serialized format: "xxxxxxxxxx@c.us" / "xxxxxxxxxx@g.us" */
mentionedJidList: string[];
Expand Down

0 comments on commit cd9a10b

Please sign in to comment.