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:
Michilis
2026-11-18 21:47:26 +00:00
co-authored by Claude Opus 5.5
parent d64db03f21
commit 44d0905fa3
18 changed files with 591 additions and 27 deletions
+8
View File
@@ -943,3 +943,11 @@ other = "Lightning: {{.Amount}} de {{.Count}} compras"
[owner.revenue_stars]
one = "Estrellas: {{.Amount}} de {{.Count}} compra, {{.Refunded}} devueltas"
other = "Estrellas: {{.Amount}} de {{.Count}} compras, {{.Refunded}} devueltas"
[inline]
hint = """
<b>Envía archivos en cualquier chat</b>
Escribe <code>@{{.Bot}}</code> y un enlace en cualquier chat. Si ya tengo el archivo y tus límites lo permiten, va directo a ese chat. Si no, me abro aquí y te lo descargo."""
open_bot = "Descargar en el bot"
download_title = "Descargarlo en el bot"
paste_link = "Pega un enlace para enviar el archivo"