Skip to content
Permalink
Browse files

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

  • Loading branch information
trenoduro committed Feb 4, 2020
1 parent 062a6ce commit fde76f0e117b2ac3309db62432c9e4a7f9166891
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyrogram/client/types/user_and_chats/chat.py
@@ -724,4 +724,4 @@ def export_invite_link(self):
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)

0 comments on commit fde76f0

Please sign in to comment.
You can’t perform that action at this time.