Version: 1.0.0 · Developer / Publisher: MilMit · Website: milmit.net · License: Commercial
MilMit Telegram Audience Manager is a Telegram audience, campaign and automation management system. It provides user management, audience segmentation, forced membership, queued and scheduled campaigns, media delivery, automation, analytics, referrals, rewards, privacy tools and operational diagnostics.
| Component | Requirement |
|---|---|
| PHP | 8.1 or newer |
| Extensions | cURL, JSON, PDO + PDO_SQLite or PDO_MySQL |
| Recommended | ZipArchive for backup/update operations |
| Telegram | Bot token and numeric Owner Telegram ID |
/install/..env, runs the idempotent migration and locks the installer.index.php and use the generated WEBHOOK_SECRET as Telegram's secret token./admin to the bot as the Owner.* * * * * /usr/bin/php /path/to/support/scripts/worker.php >/dev/null 2>&1
.env or persistent data during an update.Use /admin to open the management dashboard. Useful commands include:
/tag add vip /tag user TELEGRAM_ID vip /adminadd TELEGRAM_ID operator /campaign pause ID /campaign resume ID /campaign cancel ID /maintenance on MESSAGE /maintenance off /export /diagnostics /privacy export USER_ID /privacy erase USER_ID /dlq list /creator
Audience filter example:
tag=vip;active=7;lang=en;phone=1;member=1
Use all to target all eligible non-blocked users.
The campaign flow accepts Telegram content that can be copied by the Bot API, including text and common media types. Heavy delivery is handled by the Worker instead of blocking the webhook. Telegram bots do not provide a general message “seen” receipt; analytics therefore records supported delivery outcomes, callbacks and tracked clicks.
Add required channels from the admin membership section. The bot must have sufficient access to call getChatMember. Private channels should use a numeric chat ID and a valid invite URL.
SQLite is the default. MySQL can be selected during installation. Run php scripts/migrate.php when required. Migrations are designed to be repeatable and preserve customer data.
php scripts/health.php php scripts/diagnostics.php php tests/run.php
For restore:
php scripts/restore.php /path/to/backup.zip --confirm
For a safe update:
php scripts/update.php /path/to/release.zip
The updater creates a pre-update backup and does not import a release .env.
.env or real credentials.contact.user_id matches the sender are treated as verified.Developer extension information is available in docs/PLUGIN-SDK.md. Modules should extend functionality without modifying the core webhook flow.
If /admin does not open, verify the configured admin IDs. If campaigns remain queued, verify Cron and run the Worker manually. If membership checks fail, verify the bot's channel access. Use the diagnostics command/script for database, extension, queue and webhook status.