mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-27 08:50:41 +03:00
fix docstring typo in ButtonCallback.chat
This commit is contained in:
parent
8948c8cef9
commit
c2509ade09
|
@ -50,7 +50,7 @@ class ButtonCallback(Event):
|
||||||
def chat(self) -> Optional[Chat]:
|
def chat(self) -> Optional[Chat]:
|
||||||
"""
|
"""
|
||||||
The :term:`chat` when the message was sent.
|
The :term:`chat` when the message was sent.
|
||||||
Only available if the event was triggered by a button under usual message, not an inline one.
|
Only available if the event was triggered by a button under a usual message, not an inline one.
|
||||||
"""
|
"""
|
||||||
if isinstance(self._raw, types.UpdateInlineBotCallbackQuery):
|
if isinstance(self._raw, types.UpdateInlineBotCallbackQuery):
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user