Telegram Bot icon

Telegram Bot

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

Actions101

Chat → Edit Chat Invite Link

AI-generated

Summary

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.

Links

Discussion