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,
|
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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue