Skip to content

Commit fde76f0

Browse files
authored
Fix 'Client' object has no attribute 'export_invite_link (pyrogram#365)
1 parent 062a6ce commit fde76f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pyrogram/client/types/user_and_chats

pyrogram/client/types/user_and_chats/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,4 +724,4 @@ def export_invite_link(self):
724724
ValueError: In case the chat_id belongs to a user.
725725
"""
726726

727-
return self._client.export_invite_link(self.id)
727+
return self._client.export_chat_invite_link(self.id)

0 commit comments

Comments
 (0)