Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Chat → Set Chat Permissions
AI-generatedSummary
Set chat permissions for a specified chat by providing a JSON object describing the permissions.
Inputs
- Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
- Permissions (JSON) (required) — JSON object describing chat permissions (ChatPermissions).
- Use Independent Chat Permissions — Optional boolean to use independent chat permissions.
Output shape
a single object containing the updated Chat object as returned by the Telegram Bot API
The operation returns the result field from the Telegram API response. The 'Permissions (JSON)' input must be a well-formed JSON object matching the ChatPermissions format expected by the Telegram API. If 'Use Independent Chat Permissions' is provided, it is included in the request body as 'use_independent_chat_permissions'. Any error response from the Telegram API will cause the node to throw an error, unless 'Continue On Fail' is enabled.