3
Commands
Telegram Integration
ShipAI.today ships a production-ready Telegram bot setup out of the box: webhook route, DMs and group mentions, slash commands, file attachments, and billing-aware upgrade flows.
3
Commands
4
Capabilities
4
Outcomes
Slash Commands
Built-inGet a secure payment link to upgrade your plan
Show your current subscription and renewal period
Display usage vs limits: chats, searches, storage
Bot Capabilities
ActiveDM & Group support
Responds to DMs directly; groups on @mention
Attachment processing
Upload files, images - injected into AI context
Billing integration
Signed upgrade links tied to your Telegram identity
Payment success notify
Bot sends confirmation when checkout completes
Same AI, any channel
Telegram bot reuses buildChatStream - identical AI power via webhook, no separate pipeline.
Identity-mapped users
Telegram accounts map to internal users via DB-backed providerId - full billing context preserved.
Secure upgrade flow
HMAC-signed upgrade links with expiry - tamper-proof payment path triggered directly in chat.
Payment notifications
Successful checkout sends a Telegram message - users know the moment their plan activates.
End-to-end flow
Telegram sends update to POST /api/webhooks/telegram
Webhook validates secret token and resolves mapped internal user
Message is processed through shared buildChatStream execution
Slash commands (/upgrade, /plan, /usage) return account-aware results
Billing events generate signed and expiring upgrade links
Checkout success triggers a Telegram confirmation message
Security guarantees