toggle_all_community_link_requests()¶
- async Client.toggle_all_community_link_requests()¶
Approve or reject all pending chat link requests for a community in bulk.
Usable by Users Bots- Parameters:
community_id (
int|str) – Target community identifier.reject (
bool, optional) – Pass True to reject all, or False/None to approve all.
- Returns:
bool– True on success.
Example
# Approve all await app.toggle_all_community_link_requests(community_id) # Reject all await app.toggle_all_community_link_requests(community_id, reject=True)