mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
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;
|
||||
|
||||
Reference in New Issue
Block a user