From 79ae72f15ac77dd9d5643e685ca34599ee24d283 Mon Sep 17 00:00:00 2001 From: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com> Date: Wed, 12 Jul 2023 22:38:01 +0700 Subject: [PATCH] VKAPI: Add NSFW boolean key in `Wall.get`/`Newsfeed.get`/`Newsfeed.getGlobal` --- VKAPI/Handlers/Wall.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VKAPI/Handlers/Wall.php b/VKAPI/Handlers/Wall.php index cc1204ae..d52dfce1 100644 --- a/VKAPI/Handlers/Wall.php +++ b/VKAPI/Handlers/Wall.php @@ -125,6 +125,7 @@ final class Wall extends VKAPIRequestHandler "can_archive" => false, # TODO MAYBE "is_archived" => false, "is_pinned" => $post->isPinned(), + "is_explicit" => $post->isExplicit(), "attachments" => $attachments, "post_source" => $post_source, "comments" => (object)[ @@ -299,6 +300,7 @@ final class Wall extends VKAPIRequestHandler "can_archive" => false, # TODO MAYBE "is_archived" => false, "is_pinned" => $post->isPinned(), + "is_explicit" => $post->isExplicit(), "post_source" => $post_source, "attachments" => $attachments, "comments" => (object)[