Interface FoundPublicPosts

Contains a list of messages found by a public post search.

interface FoundPublicPosts {
    @type: "foundPublicPosts";
    are_limits_exceeded?: boolean;
    messages: Message[];
    next_offset: string;
    search_limits: PublicPostSearchLimits;
}

Properties

@type: "foundPublicPosts"
are_limits_exceeded?: boolean

True, if the query has failed because search limits are exceeded. In this case search_limits.daily_free_query_count will be equal to 0.

messages: Message[]

List of found public posts.

next_offset: string

The offset for the next request. If empty, then there are no more results.

search_limits: PublicPostSearchLimits

Updated public post search limits after the query; repeated requests with the same query will be free; may be null if they didn't change.