mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Avoid using telethon.sync in the examples
This commit is contained in:
@@ -35,7 +35,7 @@ class ButtonMethods:
|
||||
from telethon import Button
|
||||
|
||||
markup = client.build_reply_markup(Button.inline('hi'))
|
||||
client.send_message('click me', buttons=markup)
|
||||
await client.send_message('click me', buttons=markup)
|
||||
"""
|
||||
if buttons is None:
|
||||
return None
|
||||
|
Reference in New Issue
Block a user