Skip to content

🔧 edit_chat_subscription_invite_link

Use this method to edit a subscription invite link created by the bot.

âš™ī¸ Parameters

  • chat_id (int or str ): Id: Unique identifier for the target chat or username of the target channel (in the format @channelusername)
  • invite_link (str ): The invite link to edit
  • name (str ) (optional): Invite link name; 0-32 characters

📲 Returns

📀 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
)