Fix broken links, add more examples and a new section

This commit is contained in:
Lonami Exo
2018-04-06 19:00:21 +02:00
parent 0980d828d8
commit baa6976a0b
6 changed files with 158 additions and 23 deletions

View File

@@ -712,6 +712,13 @@ class TelegramClient(TelegramBareClient):
"""
Sends the given message to the specified entity (user/chat/channel).
The default parse mode is the same as the official applications
(a custom flavour of markdown). ``**bold**, `code` or __italic__``
are available. In addition you can send ``[links](https://example.com)``
and ``[mentions](@username)`` (or using IDs like in the Bot API:
``[mention](tg://user?id=123456789)``) and ``pre`` blocks with three
backticks.
Args:
entity (`entity`):
To who will it be sent.