Telegram Bot API

Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a ChatInviteLink object.

post/editChatSubscriptionInviteLink

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/editChatSubscriptionInviteLink
  • Auth: none declared

Request body

invite_linkstring required

The invite link to edit

namestring

Invite link name; 0-32 characters

Response

Telegram API response

oktrue required

Changes

    • info

      added the optional property /////// to the response with the status