VKAPI: Add NSFW boolean key in Wall.get/Newsfeed.get/Newsfeed.getGlobal

This commit is contained in:
Dmitry Tretyakov 2023-07-12 22:38:01 +07:00
parent 2018131934
commit 79ae72f15a

View file

@ -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)[