mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 21:44:51 +00:00
Fix 'Client' object has no attribute 'export_invite_link (#365)
This commit is contained in:
parent
062a6ce6dd
commit
fde76f0e11
1 changed files with 1 additions and 1 deletions
|
|
@ -724,4 +724,4 @@ class Chat(Object):
|
|||
ValueError: In case the chat_id belongs to a user.
|
||||
"""
|
||||
|
||||
return self._client.export_invite_link(self.id)
|
||||
return self._client.export_chat_invite_link(self.id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue