mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Fix 'Client' object has no attribute 'export_invite_link (#365)
This commit is contained in:
parent
062a6ce6dd
commit
fde76f0e11
@ -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…
x
Reference in New Issue
Block a user