feat: add NewsfeedCategoryAction
@@ -125,6 +125,17 @@ type NewsfeedItemWallpost struct {
SignerID int `json:"signer_id,omitempty"`
Text string `json:"text"` // Post text
Copyright WallPostCopyright `json:"copyright"`
+ CategoryAction NewsfeedCategoryAction `json:"category_action"`
+}
+
+// NewsfeedCategoryAction struct.
+type NewsfeedCategoryAction struct {
+ Action struct {
+ Target string `json:"target"`
+ Type string `json:"type"`
+ URL string `json:"url"`
+ } `json:"action"`
+ Name string `json:"name"`
}
// NewsfeedList struct.
