decline_all_chat_join_requests()#
- Client.decline_all_chat_join_requests()#
Decline all pending join requests in a chat.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier for the target chat or username of the target channel/supergroup (in the format @username).invite_link (
str, optional) – Pass an invite link to decline only its join requests. By default, all join requests are declined.
- Returns:
bool– True on success.