diff --git a/README.md b/README.md
index 6e12bce0..017b513b 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
Telegram MTProto API Framework for Python
-
+
Documentation
•
@@ -66,7 +66,7 @@ ground up in Python and C. It enables you to easily create custom apps for both
### Requirements
- Python 3.4 or higher.
-- A [Telegram API key](https://docs.pyrogram.ml/intro/setup#api-keys).
+- A [Telegram API key](https://docs.pyrogram.org/intro/setup#api-keys).
### Installing
@@ -76,11 +76,11 @@ pip3 install pyrogram
### Resources
-- The Docs contain lots of resources to help you getting started with Pyrogram: https://docs.pyrogram.ml.
+- The Docs contain lots of resources to help you getting started with Pyrogram: https://docs.pyrogram.org.
- Reading [Examples in this repository](https://github.com/pyrogram/pyrogram/tree/master/examples) is also a good way
for learning how Pyrogram works.
- Seeking extra help? Don't be shy, come join and ask our [Community](https://t.me/PyrogramChat)!
-- For other requests you can send an [Email](mailto:admin@pyrogram.ml) or a [Message](https://t.me/haskell).
+- For other requests you can send an [Email](mailto:dan@pyrogram.org) or a [Message](https://t.me/haskell).
### Contributing
diff --git a/docs/source/conf.py b/docs/source/conf.py
index e08298ef..5f073186 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -113,7 +113,7 @@ html_theme = 'sphinx_rtd_theme'
# documentation.
#
html_theme_options = {
- 'canonical_url': "https://docs.pyrogram.ml/",
+ 'canonical_url': "https://docs.pyrogram.org/",
'collapse_navigation': True,
'sticky_navigation': False,
'logo_only': True,
diff --git a/docs/source/index.rst b/docs/source/index.rst
index a68c81d9..89c92719 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -4,7 +4,7 @@ Welcome to Pyrogram
.. raw:: html
code
, "
"" "for i in range(10):\n" diff --git a/examples/bot_keyboards.py b/examples/bot_keyboards.py index 4cbe8eaa..e1ff1e7e 100644 --- a/examples/bot_keyboards.py +++ b/examples/bot_keyboards.py @@ -39,7 +39,7 @@ with app: ), InlineKeyboardButton( # Opens a web URL "URL", - url="https://docs.pyrogram.ml" + url="https://docs.pyrogram.org" ), ], [ # Second row diff --git a/examples/inline_queries.py b/examples/inline_queries.py index c1727fe6..d86d90d5 100644 --- a/examples/inline_queries.py +++ b/examples/inline_queries.py @@ -22,12 +22,12 @@ def answer(client, inline_query): input_message_content=InputTextMessageContent( "Here's how to install **Pyrogram**" ), - url="https://docs.pyrogram.ml/start/Installation", + url="https://docs.pyrogram.org/intro/install", description="How to install Pyrogram", thumb_url="https://i.imgur.com/JyxrStE.png", reply_markup=InlineKeyboardMarkup( [ - [InlineKeyboardButton("Open website", url="https://docs.pyrogram.ml/start/Installation")] + [InlineKeyboardButton("Open website", url="https://docs.pyrogram.org/intro/install")] ] ) ), @@ -37,12 +37,12 @@ def answer(client, inline_query): input_message_content=InputTextMessageContent( "Here's how to use **Pyrogram**" ), - url="https://docs.pyrogram.ml/start/Usage", + url="https://docs.pyrogram.org/start/invoking", description="How to use Pyrogram", thumb_url="https://i.imgur.com/JyxrStE.png", reply_markup=InlineKeyboardMarkup( [ - [InlineKeyboardButton("Open website", url="https://docs.pyrogram.ml/start/Usage")] + [InlineKeyboardButton("Open website", url="https://docs.pyrogram.org/start/invoking")] ] ) ) diff --git a/examples/welcomebot.py b/examples/welcomebot.py index ab252672..35f72aff 100644 --- a/examples/welcomebot.py +++ b/examples/welcomebot.py @@ -8,7 +8,7 @@ from pyrogram import Client, Emoji, Filters TARGET = "PyrogramChat" # Target chat. Can also be a list of multiple chat ids/usernames MENTION = "[{}](tg://user?id={})" # User mention markup -MESSAGE = "{} Welcome to [Pyrogram](https://docs.pyrogram.ml/)'s group chat {}!" # Welcome message +MESSAGE = "{} Welcome to [Pyrogram](https://docs.pyrogram.org/)'s group chat {}!" # Welcome message app = Client("my_account") diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 247a29cb..1cfa7c79 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -275,7 +275,7 @@ class Client(Methods, BaseClient): log.warning('\nWARNING: You are using a bot token as session name!\n' 'This usage will be deprecated soon. Please use a session file name to load ' 'an existing session and the bot_token argument to create new sessions.\n' - 'More info: https://docs.pyrogram.ml/start/Setup#bot-authorization\n') + 'More info: https://docs.pyrogram.org/intro/auth#bot-authorization\n') self.load_config() self.load_session() @@ -1091,7 +1091,7 @@ class Client(Methods, BaseClient): else: raise AttributeError( "No API Key found. " - "More info: https://docs.pyrogram.ml/intro/setup#configuration" + "More info: https://docs.pyrogram.org/intro/setup#configuration" ) for option in ["app_version", "device_model", "system_version", "lang_code"]: diff --git a/pyrogram/crypto/aes.py b/pyrogram/crypto/aes.py index de275bd0..d603caa0 100644 --- a/pyrogram/crypto/aes.py +++ b/pyrogram/crypto/aes.py @@ -56,7 +56,7 @@ except ImportError: log.warning( "TgCrypto is missing! " "Pyrogram will work the same, but at a much slower speed. " - "More info: https://docs.pyrogram.ml/resources/TgCrypto" + "More info: https://docs.pyrogram.org/topics/tgcrypto" ) diff --git a/setup.py b/setup.py index 245655e6..f0d6d030 100644 --- a/setup.py +++ b/setup.py @@ -126,13 +126,13 @@ if len(argv) > 1 and argv[1] in ["bdist_wheel", "install", "develop"]: setup( name="Pyrogram", version=version, - description="Telegram MTProto API Client Library for Python", + description="Telegram MTProto API Client Library and Framework for Python", long_description=readme, long_description_content_type="text/markdown", url="https://github.com/pyrogram", download_url="https://github.com/pyrogram/pyrogram/releases/latest", author="Dan Tès", - author_email="admin@pyrogram.ml", + author_email="dan@pyrogram.org", license="LGPLv3+", classifiers=[ "Development Status :: 4 - Beta", @@ -162,7 +162,7 @@ setup( "Tracker": "https://github.com/pyrogram/pyrogram/issues", "Community": "https://t.me/PyrogramChat", "Source": "https://github.com/pyrogram/pyrogram", - "Documentation": "https://docs.pyrogram.ml", + "Documentation": "https://docs.pyrogram.org", }, python_requires="~=3.4", packages=find_packages(exclude=["compiler*"]),