mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 19:03:46 +03:00
Fix a doc typo and update projects using the lib
This commit is contained in:
parent
0e0052888f
commit
e3d8109110
|
@ -96,3 +96,11 @@ a new ``Filter`` to define handlers more conveniently and utilities to
|
||||||
run code on start and finish of the client. Be sure to check the project
|
run code on start and finish of the client. Be sure to check the project
|
||||||
to learn about its latest features, since this description may be out of
|
to learn about its latest features, since this description may be out of
|
||||||
date.
|
date.
|
||||||
|
|
||||||
|
telethon-secret-chat
|
||||||
|
====================
|
||||||
|
|
||||||
|
`telethon-secret-chat <https://github.com/painor/telethon-secret-chat>`_ /
|
||||||
|
`painor's GitHub <https://github.com/painor>`_
|
||||||
|
|
||||||
|
This add-on can be used to work with secret chats in Telethon!
|
||||||
|
|
|
@ -51,7 +51,7 @@ class CallbackQuery(EventBuilder):
|
||||||
# Send a message with buttons users can click
|
# Send a message with buttons users can click
|
||||||
async def main():
|
async def main():
|
||||||
await client.send_message(user, 'Yes or no?', buttons=[
|
await client.send_message(user, 'Yes or no?', buttons=[
|
||||||
Button.inline('Yes!', b'yes')
|
Button.inline('Yes!', b'yes'),
|
||||||
Button.inline('Nope', b'no')
|
Button.inline('Nope', b'no')
|
||||||
])
|
])
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user