editChatSubscriptionInviteLink
Edit a Telegram channel subscription invite link to update its name or settings. Use this to modify an existing bot-created link while maintaining admin permissions.
Instructions
Edit a subscription invite link created by the bot. The bot must have can_invite_users administrator rights. Returns the edited invite link as ChatInviteLink object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Invite link name; 0-32 characters | |
| chat_id | Yes | Unique identifier for the target channel chat or username of the target channel (in the format @channelusername) | |
| invite_link | Yes | The invite link to edit |