mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Updated Sending more than just messages (markdown)
parent
7f691dc74b
commit
fded5e2569
|
@ -339,4 +339,8 @@ class CustomHtmlParser:
|
||||||
|
|
||||||
return del_surrogate(text)
|
return del_surrogate(text)
|
||||||
```
|
```
|
||||||
|
example of sending message using custom html parser
|
||||||
|
```python
|
||||||
|
client.send_message('me', 'hello this is a <tg-spoiler>hidden text</tg-spoiler>, with custom emoji <tg-emoji emoji-id="10002345">❤️</tg-emoji> !')
|
||||||
|
```
|
||||||
</details>
|
</details>
|
Loading…
Reference in New Issue
Block a user