From 7c9290784016c087b0bc36f6617843b9a5995155 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Thu, 8 Feb 2018 21:19:06 +0200 Subject: [PATCH] Upd description of `exportChatInviteLink` --- aiogram/bot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiogram/bot/bot.py b/aiogram/bot/bot.py index 392ef179..86c3d350 100644 --- a/aiogram/bot/bot.py +++ b/aiogram/bot/bot.py @@ -907,8 +907,8 @@ class Bot(BaseBot): async def export_chat_invite_link(self, chat_id: typing.Union[base.Integer, base.String]) -> base.String: """ - Use this method to export an invite link to a supergroup or a channel. - The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. + Use this method to generate a new invite link for a chat; any previously generated link is revoked. + The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Source: https://core.telegram.org/bots/api#exportchatinvitelink