Parameters
Query Options
Option casing follows each platform: TypeScript uses
Amity.StorySeenQuery.SMART, iOS uses .smart, Android and Flutter use AmityGlobalStoryTargetsQueryOption.SMART.Query Global Story Targets
Query global story targets for a tray or discovery surface, using the seen-state option that matches your product sort order.Notes
SMARTis the right default for a consumer-facing global tray because it prioritizes unseen targets.- Use
UNSEENfor a strict “new stories only” surface. - Use
SEENwhen you need a replay or archive-style surface of already seen active targets. - Use
ALLwhen your UI needs all active targets regardless of current user’s seen state.
Related Topics
Get Story Targets
Retrieve specific story target state.
Get Stories
Retrieve the actual story objects for one or more targets.