{"repo":"maxigo-web/maxigo-bot","free":true,"listed":false,"github":"https://github.com/maxigo-web/maxigo-bot","clone":"git clone https://github.com/maxigo-web/maxigo-bot.git","description":"Bot framework for Max messenger — router, middleware, context","language":"Go","stars":238,"topics":["bot","bot-framework","chatbot","go","golang","long-polling","max","max-bot-api","max-messenger","maxigo"],"license":"MIT","category":"ai-agents","readme_excerpt":"maxigo-bot Bot framework for Max messenger. Router, middleware, context, groups — inspired by Echo and telebot. Documentation - English Guide — full framework reference with examples - Документация на русском — полное описание фреймворка с примерами Installation Requires Go 1.25+. Quick Start Features - Gin/Echo-style routing — commands, events, callbacks - Two-level middleware: Pre (all updates) and Use (matched only) - Handler groups with isolated middleware stacks - Rich Context — send, reply, edit, delete, respond to callbacks - Long polling with exponential backoff and graceful shutdown - Built on maxigo-client — zero external transitive dependencies - Full Max Bot API update coverage (16 update types) Routing Commands Max uses : as command separator (not space like Telegram): /start:payload . Events Callbacks Fallback Chain For message created updates, routing tries: exact command → OnText → OnMessage . For callbacks: exact payload → OnCallback(\"\") . Middleware Execution order: Writing middleware: Groups Groups provide isolated middleware stacks for a subset of handlers: Context Context provides access to the current update and bot API: Send Options Event Constants Constant Update Type Description ---------------------- ------------------------ ----------------------------- OnText message created Text message (not command) OnMessage message created Any message (catch-all) OnEdited message edited Message edited OnRemoved message removed Message removed OnBotStarted bot s","default_branch":null,"files":null,"tree":[],"storefront":"/r/maxigo-web","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maxigo-web/maxigo-bot/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."}