MCPcopy Create free account
hub / github.com/GetStream/stream-go2 / RemoveActivityByForeignID

Method RemoveActivityByForeignID

feed.go:90–92  ·  view source on GitHub ↗

RemoveActivityByForeignID removes an activity from the feed (if present), using the provided foreignID string argument as the foreign_id field of the activity.

(ctx context.Context, foreignID string)

Source from the content-addressed store, hash-verified

88// RemoveActivityByForeignID removes an activity from the feed (if present), using the provided
89// foreignID string argument as the foreign_id field of the activity.
90func (f *feed) RemoveActivityByForeignID(ctx context.Context, foreignID string) (*RemoveActivityResponse, error) {
91 return f.client.removeActivityByForeignID(ctx, f, foreignID)
92}
93
94// Follow follows the provided feed (which must be a FlatFeed), applying the provided FollowFeedOptions,
95// if any.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected