From fe87031fbd650798fcdf11915d703c76acc617e0 Mon Sep 17 00:00:00 2001 From: apepenkov <39992738+apepenkov@users.noreply.github.com> Date: Sun, 17 Dec 2023 23:56:36 +0300 Subject: [PATCH] Update client/src/telethon/_impl/client/events/queries.py Co-authored-by: Lonami --- client/src/telethon/_impl/client/events/queries.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/telethon/_impl/client/events/queries.py b/client/src/telethon/_impl/client/events/queries.py index 9b4e0b34..dc46d1b3 100644 --- a/client/src/telethon/_impl/client/events/queries.py +++ b/client/src/telethon/_impl/client/events/queries.py @@ -56,9 +56,8 @@ class ButtonCallback(Event): """ Whether the button was clicked in an inline message. - If it was, most likely bot is not in chat, and the :meth:`chat` property will return :data:`None`, - same for :meth:`get_message` method, however editing the message, using :meth:`message_id` property - and :meth:`answer` method will work. + If it was, it might indicate that the bot is not in chat. + If this is the case, both the :meth:`chat` and :meth:`get_message` will return :data:`None`. """ return isinstance(self._raw, types.UpdateInlineBotCallbackQuery)