mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
VKAPI: Add NSFW boolean key in Wall.get
/Newsfeed.get
/Newsfeed.getGlobal
This commit is contained in:
parent
2018131934
commit
79ae72f15a
1 changed files with 2 additions and 0 deletions
|
@ -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)[
|
||||
|
|
Loading…
Reference in a new issue