Skip to content

Commit

Permalink
fix: amended the chatId attribute of the Message model
Browse files Browse the repository at this point in the history
  • Loading branch information
gekkedev authored Jul 22, 2024
1 parent 1b8c39f commit c90b1bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/model/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ export interface Message {
*/
chat: Chat;
lastSeen: null | number | boolean;
chatId: string;
/** if `string`, it is serialized: `"user@server"` */
chatId: string | Wid;
fromMe: boolean;
/**
* @deprecated Use the `quotedMsgId` attribute in `getMessageById` to get the message details
Expand Down

0 comments on commit c90b1bc

Please sign in to comment.