Support attachments on activitystreams.Object
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package activitystreams
|
||||
|
||||
type Attachment struct {
|
||||
Type AttachmentType `json:"type"`
|
||||
URL string `json:"url"`
|
||||
MediaType string `json:"mediaType"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type AttachmentType string
|
||||
|
||||
const AttachImage AttachmentType = "Image"
|
||||
Reference in New Issue
Block a user