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