Upd description of exportChatInviteLink

This commit is contained in:
Alex Root Junior 2018-02-08 21:19:06 +02:00
parent 112e38f5b1
commit 7c92907840

View file

@ -907,8 +907,8 @@ class Bot(BaseBot):
async def export_chat_invite_link(self, chat_id: typing.Union[base.Integer, base.String]) -> base.String: 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. 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. 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 Source: https://core.telegram.org/bots/api#exportchatinvitelink