Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Chat → Decline Chat Join Request

AI-generated

Summary

Decline a pending join request to a chat by specifying the chat and user IDs.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
  • User ID (required) — Unique identifier of the target user whose join request should be declined.

Output shape

a single JSON object indicating the success of the decline operation

The operation returns the Telegram API response containing a boolean result property indicating success (true) or failure (false). If the API response contains a result array, it is flattened to individual items; otherwise, the single result object is returned wrapped in a JSON property.

Examples

Example 1: Decline a join request of a user in a specific chat.

Set Resource to 'Chat', Operation to 'Decline Chat Join Request', provide the required Chat ID and User ID to identify the chat and user.

Links

Discussion