2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-30 22:05:28 +00:00

Fix 'Client' object has no attribute 'export_invite_link (#365)

This commit is contained in:
trenoduro
2020-02-04 17:01:44 +01:00
committed by GitHub
parent 062a6ce6dd
commit fde76f0e11

View File

@@ -724,4 +724,4 @@ class Chat(Object):
ValueError: In case the chat_id belongs to a user. 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)