From bc855f7610e777691d5e68bc38badc4324684843 Mon Sep 17 00:00:00 2001 From: Waffle Date: Sun, 27 May 2018 17:05:01 +0300 Subject: [PATCH] Fix register_for_reply_by_message_id and register_for_reply doc strings. --- telebot/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index 2545f5f..4c4996a 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -1169,9 +1169,6 @@ class TeleBot: """ Registers a callback function to be notified when a reply to `message` arrives. - Warning: `message` must be sent with reply_markup=types.ForceReply(), otherwise TeleBot will not be able to see - the difference between a reply to `message` and an ordinary message. - Warning: In case `callback` as lambda function, saving reply handlers will not work. :param message: The message for which we are awaiting a reply. @@ -1185,9 +1182,6 @@ class TeleBot: """ Registers a callback function to be notified when a reply to `message` arrives. - Warning: `message` must be sent with reply_markup=types.ForceReply(), otherwise TeleBot will not be able to see - the difference between a reply to `message` and an ordinary message. - Warning: In case `callback` as lambda function, saving reply handlers will not work. :param message_id: The id of the message for which we are awaiting a reply.