diff --git a/index.d.ts b/index.d.ts index 260f8e5..5d2552c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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, diff --git a/src/structures/Chat.js b/src/structures/Chat.js index 6f99b0c..08b7999 100644 --- a/src/structures/Chat.js +++ b/src/structures/Chat.js @@ -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;