mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-19 12:09:15 +00:00
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -659,7 +659,7 @@ declare namespace WAWebJS {
|
|||||||
isReadOnly: boolean,
|
isReadOnly: boolean,
|
||||||
/** Title of the chat */
|
/** Title of the chat */
|
||||||
name: string,
|
name: string,
|
||||||
/** Unix timestamp for when the chat was created */
|
/** Unix timestamp for when the last activity occurred */
|
||||||
timestamp: number,
|
timestamp: number,
|
||||||
/** Amount of messages unread */
|
/** Amount of messages unread */
|
||||||
unreadCount: number,
|
unreadCount: number,
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class Chat extends Base {
|
|||||||
this.unreadCount = data.unreadCount;
|
this.unreadCount = data.unreadCount;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unix timestamp for when the chat was created
|
* Unix timestamp for when the last activity occurred
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.timestamp = data.t;
|
this.timestamp = data.t;
|
||||||
|
|||||||
Reference in New Issue
Block a user