This Telegram bot allows users to extract and download animated emoji and stickers in both TGS (Telegram format) and JSON (Lottie) formats, making them available for editing in animation software.
- 🎯 Extract Animated Emoji - Download custom emoji from messages
- 🎭 Convert Stickers - Transform animated stickers to editable formats
- 🔄 Multiple Emoji Support - Process several emoji in a single message
- 📦 Dual Format Export - Get both TGS and JSON formats in one archive 8068 ul>
-
Clone the repository
git clone https://github.com/bohd4nx/EmojiSaver.git cd EmojiSaverBot
-
Install dependencies
pip install -r requirements.txt
-
Configure environment
- Create or modify
data/config.py
:
from dataclasses import dataclass @dataclass(frozen=True) class Config: # API credentials from https://my.telegram.org/apps API_ID: str = "your_api_id" API_HASH: str = "your_api_hash" # Bot token from @BotFather BOT_TOKEN: str = "your_bot_token" # Phone number in international format PHONE_NUMBER: str = "+1234567890" # Directory for temporary files DOWNLOAD_DIR: str = "../temp" config = Config()
- Create or modify
- Send any message containing custom animated emoji
- The bot will automatically extract and convert all emoji
- Download the ZIP archive containing both formats
- Forward any animated sticker to the bot
- The bot will convert it to editable format
- Download and enjoy!
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
python main.py
Command | Description |
---|---|
/start |
Initialize the bot |
/help |
Display usage instructions |
Want to contribute? Great! Here's how:
This project is licensed under the MIT License - see the LICENSE file for details.