Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ah-dark/telegram-sticker-export-bot
A bot that provides downloads of telegram stickers
https://github.com/ah-dark/telegram-sticker-export-bot
rust telegram-bot teloxide
Last synced: 24 days ago
JSON representation
A bot that provides downloads of telegram stickers
- Host: GitHub
- URL: https://github.com/ah-dark/telegram-sticker-export-bot
- Owner: AH-dark
- License: agpl-3.0
- Created: 2024-05-08T17:40:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T18:14:24.000Z (6 months ago)
- Last Synced: 2024-12-18T04:58:02.342Z (26 days ago)
- Topics: rust, telegram-bot, teloxide
- Language: Rust
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Sticker Export Bot
This is a simple bot that allows you to export stickers from Telegram to PNG or GIF files.
## Usage
1. Start the bot by running `cargo run`.
2. Use bot with commands:
- `/start` - Start the bot.
- `/single` - Export single sticker.
- `/pack` - Export all stickers from a pack.
- `/cancel` - Cancel the current operation.## Configuration
The bot requires some environment variables to be set:
- `TELOXIDE_TOKEN` - Telegram bot token.
- `TELEGRAM_API_URL` - Telegram API URL. Default is `https://api.telegram.org`.
- `OTEL_EXPORTER_ENDPOINT` - The endpoint of the OpenTelemetry exporter (default: `http://localhost:4317`)
- `OTEL_EXPORTER` - The type of the OpenTelemetry exporter (default: `otlp_grpc`, available: `otlp_grpc`, `otlp_http`)
- `OTEL_SAMPLE_RATE` - The sample rate of the OpenTelemetry exporter (default: `1.0`)
- `RUST_LOG` - The log level of the application (available: `trace`, `debug`, `info`, `warn`, `error`)## License
This project is licensed under the Affero General Public License v3.0 - see the [LICENSE](LICENSE) file for details.