Skip to main content

Create Chat Invite Link

Use this action to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the "Revoke Chat Invite Link" action.

Parameters

ParameterDescription
Chat ID Or UsernameUnique identifier for the target chat or username of the target channel (in the format @channelusername).You can easily retrieve a channel's ID from it's web view link at https://web.telegram.org/ - e.g the channel at https://web.telegram.org/z/#-863152528 has the id -863152528.
Creates Join RequestIf users joining the chat via the link need to be approved by chat administrators. When selected, member_limit can't be specified.
Expiration DatePoint in time when the link will expire.
Invite Link NameInvite Link Name. 0-32 characters, this is the name with which the link will be shown in the channel's admin view of invite links.
Member LimitThe maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link. If a user joins and then leaves the channel, the member limit will return to the same as it was before they joined.

Example Output

{
"ok": true,
"result": {
"invite_link": "https://t.me/+weTFwLtkjP00NmU0",
"name": "first1670440469510",
"creator": {
"id": 5927593490,
"is_bot": true,
"first_name": "BlinkTests",
"username": "BlinkOpsBot"
},
"expire_date": 1670796000,
"creates_join_request": false,
"is_primary": false,
"is_revoked": false
}
}

Workflow Library Example

Create Chat Invite Link with Telegram and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop