Telegram Approve Channel Join (Stage)
AI-generatedSummary
Approve or decline a channel join request for a Telegram bot
Inputs
- botToken — Bot token (extracted from $json.bot.access_token, etc.)
- action — Action to perform: 'approve' or 'decline'
- chatId (required) — ID of the channel or group where the join request occurred
- userId (required) — ID of the user who submitted the join request
Output shape
an array of result items; each item's json field contains {success:true, action:'approved'|'declined'} on success or {error: <message>} when an error is handled
The node returns a single-item array; each element corresponds to one input item processed
Examples
Example 1: Approve a join request from a user
Set Bot Token to the bot's token, Action to 'approve', Chat ID and User ID from incoming data
Example 2: Decline a join request
Same as above but Action set to 'decline'
Example 3: Handle an error gracefully
Enable Continue on Fail; the output will contain {error: <message>} in the result item