get_story_interactions

Function get_story_interactions 

Source
pub async fn get_story_interactions(
    story_id: i32,
    query: String,
    only_contacts: bool,
    prefer_forwards: bool,
    prefer_with_reaction: bool,
    offset: String,
    limit: i32,
    client_id: i32,
) -> Result<StoryInteractions, Error>
Expand description

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

ยงArguments

  • story_id - Story identifier
  • query - Query to search for in names, usernames and titles; may be empty to get all relevant interactions
  • only_contacts - Pass true to get only interactions by contacts; pass false to get all relevant interactions
  • prefer_forwards - 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 - Pass true to get interactions with reaction first; pass false to get interactions sorted just by interaction date. Ignored if prefer_forwards == true
  • offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
  • limit - The maximum number of story interactions to return
  • client_id - The client id to send the request to