create_telegram_invite_link
Create a trackable Telegram invite link
Description
Create a NAMED invite link to a Telegram channel or group, optionally with an expiry, a member cap, or join approval. THIS IS THE ONLY SUBSCRIBER ATTRIBUTION TELEGRAM OFFERS: the Bot API exposes no per-post views and no post history, so “which campaign brought these subscribers” is otherwise unanswerable — give each campaign its own named link and Telegram reports how many joined through each. A member limit and join approval are mutually exclusive in Telegram’s own docs and passing both is refused by name. The bot must be an administrator with invite rights. Free, 0 credits. Needs Telegram connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
chatIdrequired | string | the channel’s @username or numeric chat id |
name | string | what this link is for — the campaign name; up to 32 characters, and the whole point of the tool |
expiresAt | string | ISO 8601 timestamp after which the link stops working |
memberLimit | number | how many people may join through it; cannot be combined with requireApproval |
requireApproval | boolean | each join waits for an admin; cannot be combined with memberLimit |
account | string | which connected account: its @handle or id from list_connector_accounts; needed only when several are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_telegram_invite_link.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_telegram_invite_link","arguments":{"chatId":"<string>"}}}
CLI
hermoso call create_telegram_invite_link --json '{"chatId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
set_telegram_commandsRead or set the Telegram command menucreate_linkedin_eventCreate a LinkedIn eventpin_telegram_messagePin or unpin a Telegram messageupdate_linkedin_eventEdit a LinkedIn eventedit_telegram_messageEdit a Telegram postlist_linkedin_eventsList a LinkedIn Page’s eventsx_accountRead the connected X accountsearch_linkedin_ad_librarySearch LinkedIn’s official Ad Libraryx_userLook up any public X accountsearch_linkedin_brand_partnershipsFind sponsored creator posts on LinkedIn