mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-05 00:35:10 +00:00
Fix export_chat_invite_link for basic groups in Layer 100
This commit is contained in:
@@ -54,7 +54,7 @@ class ExportChatInviteLink(BaseClient):
|
||||
if isinstance(peer, types.InputPeerChat):
|
||||
return self.send(
|
||||
functions.messages.ExportChatInvite(
|
||||
peer=peer.chat_id
|
||||
peer=peer
|
||||
)
|
||||
).link
|
||||
elif isinstance(peer, types.InputPeerChannel):
|
||||
|
Reference in New Issue
Block a user