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 → Edit Chat Invite Link
AI-generatedSummary
Edit an existing chat invite link for a specified chat by modifying its properties such as name, expiration date, member limit, or join request requirement.
Inputs
- Chat ID (required) — Unique identifier for the target chat or username (@channelusername) to which the invite link belongs.
- Invite Link (required) — The invite link URL to edit.
- Additional Fields — Optional parameters to modify the invite link, including 'Name' (invite link name), 'Expire Date' (Unix timestamp when the link expires), 'Member Limit' (maximum number of users), and 'Creates Join Request' (boolean indicating if users need approval to join).
Output shape
a single JSON object representing the edited ChatInviteLink as returned by the Telegram Bot API.
The response contains the full updated invite link object under the 'result' field if the API call is successful. Errors are thrown as NodeApiError unless the node is set to continue on failure.
Examples
Example 1: Edit the name and expiration of a chat invite link
Specify the target chat_id and invite_link, then set 'Name' to the desired invite link name and 'Expire Date' as a Unix timestamp in the Additional Fields.