Interface GetStoryInteractions

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

interface GetStoryInteractions {
    @type: "getStoryInteractions";
    limit: number;
    offset: string;
    only_contacts?: boolean;
    prefer_forwards?: boolean;
    prefer_with_reaction?: boolean;
    query: string;
    story_id: number;
}

Properties

@type: "getStoryInteractions"
limit: number

The maximum number of story interactions to return.

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.

only_contacts?: boolean

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

prefer_forwards?: boolean

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?: boolean

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

query: string

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

story_id: number

Story identifier.