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.9.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.9.tar.gz.
File metadata
- Download URL: telemoji-1.2.9.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 |
aed5c62d1528e1f0900256ce7bc97c7a2e845ef0cb6586aa0e9d0dca8650b720
|
|
| MD5 |
6089bc60765671e64748c87faf003eec
|
|
| BLAKE2b-256 |
09d75328ab1a94cc3d4c76b8e08f2886cf3205158774873684836bce143906ce
|
File details
Details for the file telemoji-1.2.9-py3-none-any.whl.
File metadata
- Download URL: telemoji-1.2.9-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 |
08fe961c41d65602bcbb9c50ac2405940984656732a61d5dae187eff12694a8f
|
|
| MD5 |
2c876ee1eff9ddaed3958d5665c4decb
|
|
| BLAKE2b-256 |
13ed34ceed95d06eb3cb25f13a10543e7ff371dcc16eae9fe08d053cb59cb859
|