MGRAM

Monetiza tu bot de Telegram

Una plantilla lista para que tu bot de Telegram genere ingresos, en un solo archivo de Python.

Este repositorio conecta tu bot de Telegram a la red publicitaria MGRAM. Antes de responder, el bot muestra tareas de patrocinadores (unirse a un canal, iniciar un bot): es la suscripción obligatoria; después de una respuesta útil muestra un Reply Ad breve. Recibes el 70% de cada anuncio, desde el primer usuario, con retiros en USDT. Si MGRAM no responde o no hay tareas, el usuario sigue sin más: tu bot nunca se rompe.

GitHub · monetizar-bot-telegramConecta tu bot en @mgrammgram.biz

Tres líneas en aiogram 3

from mgram_gate import MgramClient, MgramGate

gate = MgramGate(MgramClient(MGRAM_API_KEY))
gate.setup(dp)               # tareas de patrocinadores antes de la respuesta
await gate.show_ad(message)  # un anuncio tras la respuesta útil

Cómo funciona

PasoQué ve el usuarioLlamada a la API
1Escribe a tu bot—
2Botones de patrocinadores y «✅ Comprobar»POST /tasks
3Pulsa «Comprobar» y obtiene accesoPOST /tasks/check
4La respuesta de tu bot—
5Un anuncio breve de tu botPOST /reply-ads/show

Repositorios de código abierto

Plantilla de botmgram-web/monetizar-bot-telegram
Pythonpip install mgram-sdk · PyPI · mgram-web/mgram-sdk — SDK de Python: cliente de la API, aiogram 3 y python-telegram-bot, webhooks
JavaScriptnpm i mgram-sdk · npm · mgram-web/mgram-js — grammY, Telegraf
Gogo get github.com/mgram-web/mgram-go · pkg.go.dev
MCPhttps://mcp.mgram.biz/mcp · Claude, ChatGPT, Cursor, Gemini CLI
APIapi.mgram.biz · OpenAPI · Node.js · Mini App

Plantillas en otros idiomas

Englishmgram-web/telegram-bot-monetization
Русскийmgram-web/monetizaciya-telegram-bota
Portuguêsmgram-web/ganhar-dinheiro-bot-telegram
Bahasa Indonesiamgram-web/monetisasi-bot-telegram
Türkçemgram-web/telegram-bot-para-kazanma