parent
2a58cfe8e2
commit
34aa136bf9
2 changed files with 2 additions and 2 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -659,7 +659,7 @@ declare namespace WAWebJS {
|
|||
isReadOnly: boolean,
|
||||
/** Title of the chat */
|
||||
name: string,
|
||||
/** Unix timestamp for when the chat was created */
|
||||
/** Unix timestamp for when the last activity occurred */
|
||||
timestamp: number,
|
||||
/** Amount of messages unread */
|
||||
unreadCount: number,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class Chat extends Base {
|
|||
this.unreadCount = data.unreadCount;
|
||||
|
||||
/**
|
||||
* Unix timestamp for when the chat was created
|
||||
* Unix timestamp for when the last activity occurred
|
||||
* @type {number}
|
||||
*/
|
||||
this.timestamp = data.t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue