mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Clarify and fix some docstrings
This commit is contained in:
@@ -47,7 +47,8 @@ class ButtonMethods(UpdateMethods):
|
||||
|
||||
self.add_event_handler(
|
||||
button.callback,
|
||||
events.CallbackQuery(data=button.data)
|
||||
events.CallbackQuery(data=getattr(
|
||||
button.button, 'data', None))
|
||||
)
|
||||
|
||||
button = button.button
|
||||
|
Reference in New Issue
Block a user