Phase 6: inline mode and docs
- Inline mode (INLINE_MODE_ENABLED): "@bot <link>" sends the cached file by file_id when the user's limits admit it without payment, and otherwise one result that opens the bot with /start il_<token> for the link. An inline send counts as a download when Telegram reports it chosen (inline feedback). The bot asks Telegram for inline_query and chosen_inline_result updates. - README, OPERATIONS and ARCHITECTURE describe the new flows, Stars, inline mode and every new setting; docs/SCREENS.md regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d64db03f21
commit
44d0905fa3
@@ -232,6 +232,13 @@ STARS_PRICES=pass_day=50,pass_week=200,pass_month=600,credits_1000=70,credits_50
|
||||
# do that itself. See docs/AFFILIATE.md.
|
||||
AFFILIATE_ENABLED=false
|
||||
|
||||
# --- Inline mode ----------------------------------------------------------------------
|
||||
# Answer "@bot <link>" in any chat: the cached file when the user's limits
|
||||
# allow it, a link into the bot otherwise. Also switch on inline mode
|
||||
# (/setinline) and inline feedback (/setinlinefeedback, 100%) in @BotFather;
|
||||
# see docs/OPERATIONS.md.
|
||||
INLINE_MODE_ENABLED=false
|
||||
|
||||
# --- Rate limits ------------------------------------------------------------
|
||||
# Links per minute. 0 means no limit.
|
||||
RATE_USER_PER_MINUTE=10
|
||||
|
||||
Reference in New Issue
Block a user