From fde76f0e117b2ac3309db62432c9e4a7f9166891 Mon Sep 17 00:00:00 2001 From: trenoduro Date: Tue, 4 Feb 2020 17:01:44 +0100 Subject: [PATCH 1/2] Fix 'Client' object has no attribute 'export_invite_link (#365) --- pyrogram/client/types/user_and_chats/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/types/user_and_chats/chat.py b/pyrogram/client/types/user_and_chats/chat.py index 56403175..fd324622 100644 --- a/pyrogram/client/types/user_and_chats/chat.py +++ b/pyrogram/client/types/user_and_chats/chat.py @@ -724,4 +724,4 @@ class Chat(Object): 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) From b41a570d67f4a84eacdd4eb0d1ffb944d2a0c9c8 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 5 Feb 2020 16:45:19 +0100 Subject: [PATCH 2/2] Update Visual C++ 2015 Build Tools download link --- docs/source/topics/tgcrypto.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/topics/tgcrypto.rst b/docs/source/topics/tgcrypto.rst index 58208763..e01bb15c 100644 --- a/docs/source/topics/tgcrypto.rst +++ b/docs/source/topics/tgcrypto.rst @@ -21,7 +21,7 @@ The reason about being an optional package is that TgCrypto requires some extra The errors you receive when trying to install TgCrypto are system dependent, but also descriptive enough to understand what you should do next: -- **Windows**: Install `Visual C++ 2015 Build Tools `_. +- **Windows**: Install `Visual C++ 2015 Build Tools `_. - **macOS**: A pop-up will automatically ask you to install the command line developer tools. - **Linux**: Install a proper C compiler (``gcc``, ``clang``) and the Python header files (``python3-dev``). - **Termux (Android)**: Install ``clang`` package.