From 602f4581c6e446720dfd0bb5cb42dce827fb20d1 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 23 Jun 2018 16:15:09 +0200 Subject: [PATCH] Remove custom TOS --- pyrogram/client/ext/base_client.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pyrogram/client/ext/base_client.py b/pyrogram/client/ext/base_client.py index a3279157..578cf168 100644 --- a/pyrogram/client/ext/base_client.py +++ b/pyrogram/client/ext/base_client.py @@ -26,16 +26,6 @@ from ...session.internals import MsgId class BaseClient: - TOS = ( - "By using Pyrogram you accept Telegram's Terms of Service (https://telegram.org/tos) and agree not to:\n\n" - - "- Use the library to send spam or scam users.\n" - "- Promote violence on publicly viewable Telegram bots, groups or channels.\n" - "- Post illegal pornographic content on publicly viewable Telegram bots, groups or channels.\n\n" - - "We reserve the right to update these Terms of Service later.\n" - ) - INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:www\.)?(?:t(?:elegram)?\.(?:org|me|dog)/joinchat/)([\w-]+)$") BOT_TOKEN_RE = re.compile(r"^\d+:[\w-]+$") DIALOGS_AT_ONCE = 100