Skip to content

Releases: diwb/dotnet-telegram-automation-framework

Release list

v1.0.0

Choose a tag to compare

@diwb diwb released this 04 Aug 00:22

Telegram Automation Framework v1.0.0

Production-oriented .NET 10 reference framework for Telegram bot automation.

Highlights

  • Routing for commands, text messages, callbacks and fallback handlers.
  • Middleware for correlation, exception mapping, telemetry, authorization, rate limiting and idempotency.
  • Long polling module with offset checkpointing, duplicate suppression, retry-after/backoff and cancellation support.
  • Webhook module with secret validation, replay protection, payload limits, callback data size checks and SSRF/allowed-host validation.
  • Complete SQLite persistence for conversation state, idempotency keys, outbox, schedules, retry metadata and checkpoints.
  • Fake Telegram Bot API for local and CI validation without real tokens.
  • CLI smoke commands for diagnostics, fake API health, polling and webhook modes.
  • Docker compose build validated in CI.

Validation

  • CI: green on main.
  • CodeQL: green on main.
  • Tests: 117 passing.
  • Core module coverage gate: 85.04% line.
  • SQLite persistence coverage gate: 80.1% line.
  • NuGet vulnerable package audit: clean.

Local Fake API Example

dotnet run --project src/TelegramAutomation.FakeTelegramApi
dotnet run --project src/TelegramAutomation.Cli -- doctor
dotnet run --project src/TelegramAutomation.Cli -- fake-api health

No package was published to NuGet.org.