check_search_posts_flood()

async Client.check_search_posts_flood()

Check the current flood status and quota for searching public channel posts.

Parameters:

query (str, optional) – The query or hashtag to check search limits for.

Returns:

SearchPostsFlood – The flood quota information.

Example

flood_info = await app.check_search_posts_flood()