Add Preview field to Object
This supports the `preview` AS2 attribute to support short-form previews for `article`s, per FEP-b2b8.
This commit is contained in:
@@ -123,6 +123,7 @@ type Object struct {
|
||||
ContentMap map[string]string `json:"contentMap,omitempty"`
|
||||
Tag []Tag `json:"tag,omitempty"`
|
||||
Attachment []Attachment `json:"attachment,omitempty"`
|
||||
Preview *Object `json:"preview,omitempty"`
|
||||
|
||||
// Person
|
||||
Inbox string `json:"inbox,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user