Skip to main content

Telethon custom emoji By : t.me/goldenxpris.

Project description

7rb Library

Advanced custom emoji handler for Telethon .

Installation

pip install 7rb

Usage

Basic Setup

import 7rb
from telethon import TelegramClient

client = TelegramClient('session', api_id, api_hash)

Golden Method (Emoji Conversion)

emoji_map = {
    '✨': '5280790529565536648',
    '💃🏻': '5280790529565536648'
}

7rb.Golden(client, emoji_map)

Emoji Extraction

@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 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

7rb-0.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

7rb-0.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file 7rb-0.0.0.tar.gz.

File metadata

  • Download URL: 7rb-0.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.4

File hashes

Hashes for 7rb-0.0.0.tar.gz
Algorithm Hash digest
SHA256 477f2f6332e1c8b02491af496758a385793afe578e0da6dd9bb220169fcbab42
MD5 862c21d84396748909d54d82141303b9
BLAKE2b-256 200ff8a6ea1264f108277bf663074260321cfec0467dffb3476058cd1f9b2a36

See more details on using hashes here.

File details

Details for the file 7rb-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: 7rb-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.4

File hashes

Hashes for 7rb-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3016a627a99de2d80771341f750f86ca4cdef99170d95c7efe424de4b13df40c
MD5 04f4a431db815cbeee1ee05d6b703617
BLAKE2b-256 f73bb8d77c63de2a3a7c2be1a34b5841517f1cafbfd808abe9f3973e41a00a02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page