edit_chat_subscription_invite_link
Use this method to edit a subscription invite link created by the bot.
Parameters
chat_id
(int
orstr
): Id: Unique identifier for the target chat or username of the target channel (in the format @channelusername)invite_link
(str
): The invite link to editname
(str
) (optional
): Invite link name; 0-32 characters
Returns
ChatInviteLink
Examples
- Required Parameters
await bot.edit_chat_subscription_invite_link(
chat_id=your_chat_id_here,
invite_link=your_invite_link_here
)
- All Parameters
await bot.edit_chat_subscription_invite_link(
chat_id=your_chat_id_here,
invite_link=your_invite_link_here,
name=your_name_here
)