channels.SearchPosts
- class pyrogram.raw.functions.channels.SearchPosts
Globally search for posts from public channels » (including those we aren’t a member of) containing either a specific hashtag, or a full text query.
- Details:
Layer:
222ID:
F2C4F24D
- Parameters:
offset_rate (
int32-bit) – Initially 0, then set to the next_rate parameter of messages.messagesSlice, or if that is absent, the date of the last returned message.offset_peer (
InputPeer) – Offsets for pagination, for more info click hereoffset_id (
int32-bit) – Offsets for pagination, for more info click herelimit (
int32-bit) – Maximum number of results to return, see paginationhashtag (
str, optional) – The hashtag to search, without the # character.query (
str, optional) – The full text query: each user has a limited amount of free full text search slots, after which payment is required, see here » for more info on the full flow.allow_paid_stars (
int64-bit, optional) – For full text post searches (query), allows payment of the specified amount of Stars for the search, see here » for more info on the full flow.
- Returns: