MCP

टेलीग्राम MCP Server

टेलीग्राम के पास 1 बिलियन से अधिक मासिक सक्रिय उपयोगकर्ता हैं जो संदेश, चैनल, समूह, वॉयस नोट्स, बॉट्स और मीडिया साझा करते हैं, जिससे यह सीधी वितरण, समुदाय प्रबंधन और तेज़ी से बदलते समाचार दर्शकों के लिए महत्वपूर्ण बनता है।

MCP Version: 1.0.0 7 MCP Tools Authentication
टेलीग्राम

Base URL

https://mcp.pressmonitor.com/mcp

Authentication

MCP calls use Bearer tokens over JSON-RPC 2.0.

Authorization: Bearer YOUR_TOKEN

bot_info

बोट जानकारी

Arguments

Name Type Required Description
username string Yes उपयोगकर्ता नाम

Code Examples

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "bot_info",
    "arguments": {
      "username": "VALUE"
    }
  },
  "id": 1
}'

channel_info

चैनल जानकारी

Arguments

Name Type Required Description
username string Yes उपयोगकर्ता नाम

Code Examples

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "channel_info",
    "arguments": {
      "username": "VALUE"
    }
  },
  "id": 1
}'

get_messages

संदेश प्राप्त करें

Arguments

Name Type Required Description
username string Yes उपयोगकर्ता नाम
offset string No ऑफसेट

Code Examples

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "get_messages",
    "arguments": {
      "username": "VALUE"
    }
  },
  "id": 1
}'

group_info

समूह जानकारी

Arguments

Name Type Required Description
username string Yes उपयोगकर्ता नाम

Code Examples

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "group_info",
    "arguments": {
      "username": "VALUE"
    }
  },
  "id": 1
}'

search_hashtag

हैशटैग खोजें

Arguments

Name Type Required Description
hashtag string Yes हैशटैग
offset string No ऑफसेट

Code Examples

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "search_hashtag",
    "arguments": {
      "hashtag": "VALUE"
    }
  },
  "id": 1
}'

user_info

उपयोगकर्ता जानकारी

Arguments

Name Type Required Description
username string Yes उपयोगकर्ता नाम

Code Examples

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "user_info",
    "arguments": {
      "username": "VALUE"
    }
  },
  "id": 1
}'