Optional
params: {Optional
limit?: numberMaximum number of viewers to fetch
Optional
offset?: stringOffset ID for pagination
Optional
onlyContacts?: booleanWhether to only fetch viewers from contacts
Optional
query?: stringSearch query
Optional
sortBy?: "date" | "reaction"How to sort the results?
reaction
- by reaction (viewers who has reacted are first), then by date (newest first)date
- by date, newest firstOptional
chunkSize?: numberNumber of viewers to fetch per request. Usually you don't need to change this.
Optional
limit?: numberTotal number of viewers to fetch
Iterate over viewers list of a story. Wrapper over getStoryViewers