mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge remote-tracking branch 'upstream/dev-1.x' into dev-1.x
This commit is contained in:
commit
bd8e1473c0
12 changed files with 35 additions and 19 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue