/
rustwizard
/
max_messenger_adapter
Обзор
Документация
Войти
/
rustwizard
/
max_messenger_adapter
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
plugins/platforms/max/plugin.yaml
46 строк
2 KB
Rust Wizard
feat: add MAX Messenger platform adapter for Hermes Agent
20 июн 2026, 10:14
Верифицирован
20 июн 2026, 10:14
96d16fa
Код
Авторство
О чём код?
name: max-platform label: MAX kind: platform version: 1.0.0 description: > MAX messenger gateway adapter for Hermes Agent. Connects Hermes to the MAX messenger (max.ru) via the official MAX Bot API. Supports text messages, Markdown formatting, inline keyboards, typing indicators, image/file/voice uploads, and webhook or long-polling delivery. author: Hermes MAX Plugin license: MIT homepage: https://github.com/example/max_messenger_adapter requires_env: - name: MAX_BOT_TOKEN description: "Bot token from the MAX partner platform (business.max.ru)" prompt: "MAX Bot Token" password: true optional_env: - name: MAX_API_BASE_URL description: "MAX API base URL (default: https://platform-api.max.ru)" prompt: "MAX API Base URL" password: false - name: MAX_WEBHOOK_URL description: "Public HTTPS URL for receiving webhooks (e.g. https://example.com/webhook). Leave empty to use long polling." prompt: "Webhook URL (optional)" password: false - name: MAX_WEBHOOK_SECRET description: "Secret for webhook HMAC signature verification (optional)" prompt: "Webhook Secret (optional)" password: true - name: MAX_WEBHOOK_PORT description: "Local port for the webhook server when webhook URL is set (default: 8787)" prompt: "Webhook listen port" password: false - name: MAX_ALLOWED_USERS description: "Comma-separated MAX user IDs allowed to interact (empty = allow all)" prompt: "Allowed User IDs (comma-separated, empty = all)" password: false - name: MAX_ALLOW_ALL_USERS description: "Allow any MAX user to interact with the bot (dev only)" prompt: "Allow all users? (true/false)" password: false - name: MAX_HOME_CHANNEL description: "Chat ID for cron / notification delivery" prompt: "Home Channel Chat ID" password: false