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). You can also use chat public link in form of t.me/<username> (str).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.