search_public_posts


Description:

public async FoundPublicPosts search_public_posts (string query, string offset, int32 limit, int64 star_count) throws TDLibError

Searches for public channel posts using the given query. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit

Parameters:

query

Query to search for

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 messages to be returned; up to 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit

star_count

The amount of Telegram Stars the user agreed to pay for the search; pass 0 for free searches