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

View File

@@ -1,6 +1,38 @@
# InlineQueriesBot
This bot will form the inline queries for you. For that feature you should explicitly enable inline queries in bot settings
A multiplatform bot that answers inline queries with paginated article results.
## Functionality
Responds to inline queries by returning a page of article results. Each result includes a
description and a deep-link button. Navigation between pages is handled via the query offset
(next/previous buttons encoded in the result set).
## Arguments
| Position | Value | Description |
|----------|-------|-------------|
| 1 | `BOT_TOKEN` | Telegram bot token |
Optional arguments (any order after the token):
| Value | Description |
|-------|-------------|
| `debug` | Enable verbose debug logging |
| `testServer` | Connect to the Telegram test server instead of production |
## Bot Commands
None. The bot is driven by inline queries (type `@BotUsername` in any chat).
## Capabilities
- Answers inline queries with `InlineQueryResultArticle` items
- Offset-based pagination: each result page encodes the next-page offset in the answer
- Each result includes a deep-link `InlineKeyboardButton` back to the bot
- Multiplatform module with a shared `commonMain` implementation and a JVM launcher entry point
- Requires *Inline Mode* to be enabled in BotFather settings
- Runs via long polling
## Launch