diff --git a/src/structures/GroupNotification.js b/src/structures/GroupNotification.js index d96dc03..d022b70 100644 --- a/src/structures/GroupNotification.js +++ b/src/structures/GroupNotification.js @@ -43,7 +43,7 @@ class GroupNotification extends Base { * * @type {string} */ - this.chatId = typeof (data.from) === 'object' ? data.from._serialized : data.from; + this.chatId = typeof (data.to) === 'object' ? data.to._serialized : data.to; /** * ContactId for the user that produced the GroupNotification.