7rb
توضیحات
Telethon custom emoji By : t.me/goldenxpris.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | 7rb-0.0.0 |
| نام | 7rb |
| نسخه کتابخانه | 0.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Golden |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/7rb/ |
| مجوز | - |
# 7rb Library
Advanced custom emoji handler for Telethon .
## Installation
```bash
pip install 7rb
```
## Usage
### Basic Setup
```python
import 7rb
from telethon import TelegramClient
client = TelegramClient('session', api_id, api_hash)
```
### Golden Method (Emoji Conversion)
```python
emoji_map = {
'✨': '5280790529565536648',
'💃🏻': '5280790529565536648'
}
7rb.Golden(client, emoji_map)
```
### Emoji Extraction
```python
@client.on(events.NewMessage)
async def handler(event):
emoji_ids = 7rb.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
- By : @YoGoLdEn .
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | colorama |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl 7rb-0.0.0:
pip install 7rb.whl
نصب پکیج tar.gz 7rb-0.0.0:
pip install 7rb.tar.gz