update readmes

This commit is contained in:
2026-05-07 17:18:24 +06:00
parent 89e1eec53e
commit f9c131d5e1
35 changed files with 1368 additions and 77 deletions

44
StickerInfoBot/README.md Normal file
View File

@@ -0,0 +1,44 @@
# StickerInfoBot
A multiplatform bot (JVM + JS) that displays detailed information about stickers and custom emoji.
## Functionality
When the user sends a sticker, the bot replies with the sticker set name, title, and sticker type.
When the user sends a text message containing custom emoji entities, the bot fetches the
corresponding sticker objects and sends back their information.
## Arguments
| Position | Value | Description |
|----------|-------|-------------|
| 1 | `BOT_TOKEN` | Telegram bot token |
Optional flags (any order):
| Value | Description |
|-------|-------------|
| `debug` | Enable verbose debug logging |
| `testServer` | Connect to the Telegram test server instead of production |
## Bot Commands
None.
## Capabilities
- Detects incoming sticker messages and calls `getStickerSet` to retrieve set metadata
- Reports sticker set name, title, and type (regular / mask / custom emoji)
- Scans text message entities for `CustomEmoji` types
- Fetches the corresponding sticker objects via `getCustomEmojiStickers`
- Sends sticker information back as a formatted reply
- Shared `commonMain` library with JVM and JS launchers
- Runs via long polling
## Launch
### JVM
```bash
./gradlew :StickerInfoBot:jvm_launcher:run --args="BOT_TOKEN"
```