ActivityPub/entities/activity/activity.go
2020-10-17 12:13:15 +02:00

13 lines
469 B
Go

package activity
import "git.nutfactory.org/hoernschen/ActivityPub/entities/object"
type Activity struct {
Context string `json:"@context,omitempty"`
Id string `json:"id,omitempty"`
Type string `json:"type,omitempty"`
Actor string `json:"actor,omitempty"`
Object *object.Object `json:"object,omitempty"`
Published int64 `json:"published,omitempty"`
To string `json:"to,omitempty"`
}