Telethon custom emoji By : t.me/goldenxpris.
Project description
Telemoji Library
Advanced custom emoji handler for Telethon .
Installation
pip install telemoji
Usage
Basic Setup
import telemoji
from telethon import TelegramClient
client = TelegramClient('session', api_id, api_hash)
Golden Method (Emoji Conversion)
emoji_map = {
'✨': '5280790529565536648',
'💃🏻': '5280790529565536648'
}
telemoji.Golden(client, emoji_map)
Emoji Extraction
@client.on(events.NewMessage)
async def handler(event):
emoji_ids = telemoji.Emoji(event.message)
if emoji_ids:
print("Found custom emojis:", emoji_ids)
Features
- Convert regular emojis to custom emojis
- Extract custom emoji IDs from messages
- Works with all Telethon send methods
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
telemoji-1.2.8.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telemoji-1.2.8.tar.gz.
File metadata
- Download URL: telemoji-1.2.8.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acad05c198823ffbab482c2ea78131d4e86599c1921a603f5534e65ea4ed1edc
|
|
| MD5 |
eb4ddd345ce07fd95866b75ecb060d03
|
|
| BLAKE2b-256 |
1fdbc1b1aa340a2b7a57133cea3ffc74d79ac2477b0274bc4b74e6dd05b64bf9
|
File details
Details for the file telemoji-1.2.8-py3-none-any.whl.
File metadata
- Download URL: telemoji-1.2.8-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbf2deae8053d65026b5209a6e5765d65853ea35cb0242e5d449214df74df816
|
|
| MD5 |
02f06926493c1aaab9096f7fa7996e64
|
|
| BLAKE2b-256 |
ad4ab4a5fae50ae6bcd666776e5f3ae6c16257b37051acf4ec28722edc669aca
|