Fix a doc typo and update projects using the lib

This commit is contained in:
Lonami Exo 2020-03-11 10:02:19 +01:00
parent 0e0052888f
commit e3d8109110
2 changed files with 9 additions and 1 deletions

View File

@ -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!

View File

@ -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')
]) ])
""" """