mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-29 04:43:45 +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]:
|
||||
"""
|
||||
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):
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue
Block a user