From db14df1ff4b13c7315f2051764b73f2208ab1d18 Mon Sep 17 00:00:00 2001 From: Suvorov Daniil Date: Tue, 11 Jan 2022 18:01:43 +0300 Subject: [PATCH] feat: WallWallpost add fields --- object/wall.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/object/wall.go b/object/wall.go index 3e2f3a11..62ad681a 100644 --- a/object/wall.go +++ b/object/wall.go @@ -128,7 +128,7 @@ const ( WallPostTypeSuggest = "suggest" ) -// WallWallpost struct. +// WallWallpost struct. type WallWallpost struct { AccessKey string `json:"access_key"` // Access key to private object ID int `json:"id"` // Post ID @@ -156,6 +156,7 @@ type WallWallpost struct { IsPinned BaseBoolInt `json:"is_pinned"` IsFavorite BaseBoolInt `json:"is_favorite"` // Information whether the post in favorites list IsArchived BaseBoolInt `json:"is_archived"` // Is post archived, only for post owners + IsDeleted BaseBoolInt `json:"is_deleted"` MarkedAsAds BaseBoolInt `json:"marked_as_ads"` Edited int `json:"edited"` // Date of editing in Unixtime Copyright WallPostCopyright `json:"copyright"`