Merge remote-tracking branch 'upstream/dev-1.x' into dev-1.x

This commit is contained in:
Suren Khorenyan 2018-02-11 12:50:44 +03:00
commit bd8e1473c0
12 changed files with 35 additions and 19 deletions

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:
"""
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