Skip to content

getStoryInteractions

Function · TDLib 1.8.67 · d1085f9c

Returns interactions with a story. The method can be called only for stories posted on behalf of the current user

getStoryInteractions(
  story_id: int32,
  query: string,
  only_contacts: Bool,
  prefer_forwards: Bool,
  prefer_with_reaction: Bool,
  offset: string,
  limit: int32
) → StoryInteractions

story_id

int32

Story identifier

query

string

Query to search for in names, usernames and titles; may be empty to get all relevant interactions

only_contacts

Bool

Pass true to get only interactions by contacts; pass false to get all relevant interactions

prefer_forwards

Bool

Pass true to get forwards and reposts first, then reactions, then other views; pass false to get interactions sorted just by interaction date

prefer_with_reaction

Bool

Pass true to get interactions with reaction first; pass false to get interactions sorted just by interaction date. Ignored if prefer_forwards == true

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

int32

The maximum number of story interactions to return