declineChatJoinRequest
Reject pending chat join requests by specifying the chat and user ID. Requires the bot to be an administrator with invite-user rights. Returns true when the request is declined.
Instructions
Decline a chat join request. The bot must be an administrator with can_invite_users rights. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username of the target channel (in the format @channelusername) | |
| user_id | Yes | Unique identifier of the target user |