// NewFollowActivity returns a new 'Follow' activity.
NewFollowActivity returns a new 'Follow' activity.
// NewFollowActivity returns a new ' Follow ' activity .
func NewFollowActivity(obj *ObjectProperty, opts ...Opt) *ActivityType {
	options := NewOptions(opts...)
	return &ActivityType{
		ObjectType: NewObject(
			WithContext(getContexts(options, ContextActivityStreams)...),
			WithID(options.ID),
			WithType(TypeFollow),
			WithTo(options.To...),
		),
		activity: &activityType{
			Actor:  NewURLProperty(options.Actor),
			Object: obj,
		},
	}
}
func NewFollowActivity ( obj * ObjectProperty , opts ... Opt ) * ActivityType { options := NewOptions ( opts ... ) return & ActivityType { ObjectType : NewObject ( WithContext ( getContexts ( options , ContextActivityStreams ) ... ) , WithID ( options . ID ) , WithType ( TypeFollow ) , WithTo ( options . To ... ) , ) , activity : & activityType { Actor : NewURLProperty ( options . Actor ) , Object : obj , } , } }
NewFollowActivity returns a new 'Follow' activity.
NewFollowActivity returns a new ' Follow ' activity .