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. 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)