mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Update client/src/telethon/_impl/client/events/queries.py
Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
parent
c0e09e9820
commit
5b33b4b9c1
|
@ -78,7 +78,7 @@ class ButtonCallback(Event):
|
|||
"""
|
||||
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):
|
||||
owner_id = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user