Update some URLs

Some were out of date, some were examples pointing to a personal
link, which were replaced with generic examples.
This commit is contained in:
Lonami Exo
2020-02-20 11:19:39 +01:00
parent 3d32e16235
commit 7ffb87170b
8 changed files with 49 additions and 61 deletions

View File

@@ -569,10 +569,10 @@ class DialogMethods:
# <you> Your name didn't have any letters! Try again
conv.send_message("Your name didn't have any letters! Try again")
# <usr> Lonami
# <usr> Human
name = conv.get_response().raw_text
# <you> Thanks Lonami!
# <you> Thanks Human!
conv.send_message('Thanks {}!'.format(name))
"""
return custom.Conversation(

View File

@@ -634,7 +634,7 @@ class MessageMethods:
.. code-block:: python
# Markdown is the default
await client.send_message('lonami', 'Thanks for the **Telethon** library!')
await client.send_message('me', 'Hello **world**!')
# Default to another parse mode
client.parse_mode = 'html'
@@ -668,7 +668,7 @@ class MessageMethods:
# Matrix of inline buttons
await client.send_message(chat, 'Pick one from this grid', buttons=[
[Button.inline('Left'), Button.inline('Right')],
[Button.url('Check this site!', 'https://lonamiwebs.github.io')]
[Button.url('Check this site!', 'https://example.com')]
])
# Reply keyboard