Collega l'API Telegram
Integra l'API Telegram tramite l'API REST unificata di Modiva e il server MCP ospitato. Post to channels and manage bots. OAuth, aggiornamento dei token, rate limit e 10 strumenti tipizzati sono gestiti per te: collega una volta e richiama Telegram da qualsiasi agente o app attraverso un singolo endpoint.
Cosa puoi fare con l'API Telegram
- ✓ Publishing
- ✓ Scheduling
- ✓ Inbox & DMs
- ✓ Analytics
- ✓ Webhooks
Strumenti MCP e scope di Telegram
- accounts_
- list · health · status
- posts_
- create · cross_post · schedule · publish_now
- comments_
- list · reply
- messages_
- list · send · inbox
- analytics_
- unified · best_time_to_post
Scope OAuth richiesti
- Read profile & accounts
- Publish posts & stories
- Read insights
- Read & reply to comments/DMs
Collega Telegram nel tuo agente
# Add Modiva's MCP server to your agent
{
"mcpServers": {
"modiva": {
"url": "https://mcp.modiva.ai",
"headers": { "Authorization": "Bearer $MODIVA_MCP_KEY" }
}
}
}
# Then connect Telegram and call its tools, e.g.
accounts_list(provider="telegram")Domande frequenti
Come collego l'API Telegram con Modiva?
Crea un account Modiva, genera una chiave MCP e collega Telegram dalla tua dashboard. Modiva esegue l'intero flusso OAuth e memorizza il token cifrato per te, senza client secret nel tuo codice.
Cosa posso fare con l'API Telegram tramite Modiva?
Post to channels and manage bots. Ottieni 10 strumenti tipizzati raggruppati per risorsa (accounts_, posts_, comments_, messages_, analytics_), richiamabili tramite REST o il server MCP.
Devo gestire personalmente OAuth o l'aggiornamento dei token?
No. Modiva gestisce l'handshake OAuth di Telegram, l'archiviazione dei token (cifrati con envelope encryption) e l'aggiornamento automatico. Tu richiami un singolo endpoint unificato.
Un agente IA può usare l'API Telegram?
Sì, è proprio questo il punto. Modiva espone Telegram come strumenti Model Context Protocol (MCP), così agenti come Claude, Cursor o la tua app possono leggere e agire su Telegram attraverso un unico endpoint.