Use this action to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
Parameters
Parameter
Description
Chat ID Or Username
Unique 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 Request
True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can’t be specified.
Expiration Date
When the link will expire.
Invite Link
The invite link to edit.
Invite Link Name
Invite 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 Limit
The 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.