Activity Feeds V3 is in closed alpha — do not use it in production (just yet).

Pins

Overview

Sometimes you’ll want to pin your favorite activity to a feed. You can pin an activity like this:

response = self.test_feed.pin_activity(activity_id, user_id=self.test_user_id)

When you read a feed pinned activities are automatically returned:

response = self.test_feed.unpin_activity(activity_id, self.test_user_id)
© Getstream.io, Inc. All Rights Reserved.