mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-13 04:56:35 +03:00
Fix minor documentation issue regarding pre tags
This commit is contained in:
parent
7f88238d8f
commit
fbce902cf8
|
@ -114,3 +114,4 @@ You can also use the menu on the left to quickly skip over sections.
|
||||||
modules/errors
|
modules/errors
|
||||||
modules/sessions
|
modules/sessions
|
||||||
modules/network
|
modules/network
|
||||||
|
modules/helpers
|
||||||
|
|
|
@ -616,7 +616,7 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods):
|
||||||
|
|
||||||
client.send_message('me', 'Some <b>bold</b> and <i>italic</i> text')
|
client.send_message('me', 'Some <b>bold</b> and <i>italic</i> text')
|
||||||
client.send_message('me', 'An <a href="https://example.com">URL</a>')
|
client.send_message('me', 'An <a href="https://example.com">URL</a>')
|
||||||
client.send_message('me', '<code>code</code> and <pre>pre\nblocks</pre>')
|
# code and pre tags also work, but those break the documentation :)
|
||||||
client.send_message('me', '<a href="tg://user?id=me">Mentions</a>')
|
client.send_message('me', '<a href="tg://user?id=me">Mentions</a>')
|
||||||
|
|
||||||
# Explicit parse mode
|
# Explicit parse mode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user