mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Updated Sending more than just messages (markdown)
parent
5e63ab0f69
commit
ce64dbacf2
|
@ -121,4 +121,4 @@ client.send_message('me', 'hello this is a [hidden text](spoiler), with custom e
|
||||||
|
|
||||||
You may have noticed the emoji URL is followed by a number. This number is a `document_id`. To find it, the easiest way is to send a message to your own chat with the premium emoji you want to use using an official client, and then use Telethon to print the `message.entities`. It will contain the `document_id` you need to use.
|
You may have noticed the emoji URL is followed by a number. This number is a `document_id`. To find it, the easiest way is to send a message to your own chat with the premium emoji you want to use using an official client, and then use Telethon to print the `message.entities`. It will contain the `document_id` you need to use.
|
||||||
|
|
||||||
You can find a custom html parser example that have both spoilers and custom emojis [Here](https://gist.github.com/YouKnow-sys/3d571bdd4857f175d91db8146ec065bf)
|
You can find a custom HTML **parser example** that have both spoilers and custom emojis [Here](https://gist.github.com/YouKnow-sys/3d571bdd4857f175d91db8146ec065bf)
|
Loading…
Reference in New Issue
Block a user