1 parent a425e00 commit a35e262Copy full SHA for a35e262
2 files changed
compiler/api/source/main_api.tl
@@ -1356,4 +1356,7 @@ langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLangua
1356
folders.editPeerFolders#6847d0ab folder_peers:Vector<InputFolderPeer> = Updates;
1357
folders.deleteFolder#1c295881 folder_id:int = Updates;
1358
1359
-// LAYER 100
+// LAYER 100
1360
+
1361
+// Ports
1362
+channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;
pyrogram/client/methods/chats/export_chat_invite_link.py
@@ -54,7 +54,7 @@ def export_chat_invite_link(
54
if isinstance(peer, types.InputPeerChat):
55
return self.send(
56
functions.messages.ExportChatInvite(
57
- peer=peer.chat_id
+ peer=peer
58
)
59
).link
60
elif isinstance(peer, types.InputPeerChannel):
0 commit comments