View Source ExTDLib.Method.GetStoryViewers (ExTDLib v0.0.4)
Returns viewers of a story. The method can be called only for stories posted on behalf of the current user. Returns object_ptr<StoryViewers>.
| Name | Type | Description |
|---|---|---|
| story_id | number | Story identifier. |
| query | string | Query to search for in names and usernames of the viewers; may be empty to get all relevant viewers. |
| only_contacts | bool | Pass true to get only contacts; pass false to get all relevant viewers. |
| prefer_with_reaction | bool | Pass true to get viewers with reaction first; pass false to get viewers sorted just by view_date. |
| offset | string | Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results. |
| limit | number | The maximum number of story viewers to return. |
More details on telegram's documentation.