diff --git a/VKAPI/Handlers/Account.php b/VKAPI/Handlers/Account.php index be20e3bf..aa832e29 100644 --- a/VKAPI/Handlers/Account.php +++ b/VKAPI/Handlers/Account.php @@ -69,7 +69,8 @@ final class Account extends VKAPIRequestHandler { return (object) [ "friends" => $this->getUser()->getFollowersCount(), - "notifications" => $this->getUser()->getNotificationsCount() + "notifications" => $this->getUser()->getNotificationsCount(), + "messages" => $this->getUser()->getUnreadMessagesCount() ]; // TODO: Filter diff --git a/VKAPI/Handlers/Groups.php b/VKAPI/Handlers/Groups.php index b531668f..820d304d 100644 --- a/VKAPI/Handlers/Groups.php +++ b/VKAPI/Handlers/Groups.php @@ -1,7 +1,6 @@