mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-14 13:00:38 +00:00
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:
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user