Skip to content

Commit

Permalink
feat: WallWallpost add fields
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Jan 11, 2022
1 parent 5559c84 commit db14df1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion object/wall.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"`
Expand Down

0 comments on commit db14df1

Please sign in to comment.