API
टेलीग्राम एपीआई
टेलीग्राम के पास 1 बिलियन से अधिक मासिक सक्रिय उपयोगकर्ता हैं जो संदेश, चैनल, समूह, वॉयस नोट्स, बॉट्स और मीडिया साझा करते हैं, जिससे यह सीधी वितरण, समुदाय प्रबंधन और तेज़ी से बदलते समाचार दर्शकों के लिए महत्वपूर्ण बनता है।
API Reference Version: 1.0.0 7 Endpoints Authentication
Base URL
https://api.pressmonitor.com Authentication
All requests use Bearer token authentication.
Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/bot-info बोट जानकारी
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username | string | query | Yes | उपयोगकर्ता नाम |
Code Examples
curl -X GET "https://api.pressmonitor.com/bot-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/channel-info चैनल जानकारी
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username | string | query | Yes | उपयोगकर्ता नाम |
Code Examples
curl -X GET "https://api.pressmonitor.com/channel-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/get-messages संदेश प्राप्त करें
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username | string | query | Yes | उपयोगकर्ता नाम |
| offset | string | query | No | ऑफसेट |
Code Examples
curl -X GET "https://api.pressmonitor.com/get-messages?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/group-info समूह जानकारी
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username | string | query | Yes | उपयोगकर्ता नाम |
Code Examples
curl -X GET "https://api.pressmonitor.com/group-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/search खोज
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| keyword | string | query | Yes | कीवर्ड |
Code Examples
curl -X GET "https://api.pressmonitor.com/search?keyword=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/search-hashtag हैशटैग खोजें
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| hashtag | string | query | Yes | हैशटैग |
| offset | string | query | No | ऑफसेट |
Code Examples
curl -X GET "https://api.pressmonitor.com/search-hashtag?hashtag=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/user-info उपयोगकर्ता जानकारी
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username | string | query | Yes | उपयोगकर्ता नाम |
Code Examples
curl -X GET "https://api.pressmonitor.com/user-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता