Telegram Bot icon

Telegram Bot

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

Actions101

Chat → Approve Chat Join Request

AI-generated

Summary

Approve a user's request to join a chat

Inputs

  • chat_id (required) — Unique identifier for the target chat or username
  • user_id (required) — Unique identifier of the target user

Output shape

a single record (object) from the Telegram API response

Returns the full API response; typically includes ok and result fields; may be an error if the request fails

Examples

Example 1: Approve a user to join a chat

chat_id: '@mychannel'\nuser_id: 123456789

Links

Discussion