Update client/src/telethon/_impl/client/events/queries.py

Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
apepenkov 2023-12-17 23:57:03 +03:00 committed by GitHub
parent c0e09e9820
commit 5b33b4b9c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ class ButtonCallback(Event):
""" """
The :term:`chat` where the button was clicked. The :term:`chat` where the button was clicked.
This will be :data:`None` if the message with the button was sent from a user's inline query, except in channel. This may be :data:`None` if :data:`via_inline` is :data:`True`, as the bot might not be part of the chat.
""" """
if isinstance(self._raw, types.UpdateInlineBotCallbackQuery): if isinstance(self._raw, types.UpdateInlineBotCallbackQuery):
owner_id = None owner_id = None