{"repo":"navigatorframework/navigator","free":true,"listed":false,"github":"https://github.com/navigatorframework/navigator","clone":"git clone https://github.com/navigatorframework/navigator.git","description":"☸️🐙 A highly opinionated telegram bot framework for .NET","language":"C#","stars":11,"topics":["navigator","telegram","bots"],"license":"GPL-3.0","category":"chat-messaging","readme_excerpt":"Navigator A highly opinionated Telegram bot framework, mainly based on Telegram.Bot. The only requirement is Microsoft.AspNetCore.App ( = 10.0) . Quickstart Install the Navigator NuGet package, then create a minimal bot: MapNavigator() maps a POST endpoint that receives Telegram webhook updates. At startup, Navigator automatically registers the webhook with Telegram using the base URL (and an optional custom endpoint set via SetWebHookEndpoint ). How It Works 1. Configure – call AddNavigator(configuration = ...) to register Navigator services and set options. 2. Register actions – use app.GetBot() to get the action catalog, then register handlers with OnCommand , OnMessage , OnCallbackQuery , and other helpers. 3. Map the endpoint – call app.MapNavigator() to expose the webhook endpoint. 4. Receive updates – Telegram sends updates to the endpoint; Navigator classifies each update, resolves matching actions, and executes them through its pipeline. Configuration Configuration is done inside the AddNavigator callback through NavigatorConfiguration : Core Options Method Description ---------------------------------- -------------------------------------------------------------------------------- SetWebHookBaseUrl(string) Base URL for the Telegram webhook (required). SetTelegramToken(string) Bot token from @BotFather (required). SetWebHookEndpoint(string) Custom webhook path. If omitted, a unique endpoint is generated automatically. EnableMultipleActionsUsage() Allow more than one","default_branch":null,"files":null,"tree":[],"storefront":"/r/navigatorframework","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/navigatorframework/navigator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}