approve_all_chat_join_requests()#
- Client.approve_all_chat_join_requests()#
Approve 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 approve only its join requests. By default, all join requests are approved.
- Returns:
bool
– True on success.