API Usage
POST /index.php
Main endpoint for all Telegram operations
Create Invite Link:
curl -X POST https://yourdomain.com/index.php \
-H "Content-Type: application/json" \
-d '{"message": "/invitelink___@channel___req123___y___VIP Link"}'
Get Link Statistics
curl -X POST https://yourdomain.com/index.php \
-H "Content-Type: application/json" \
-d '{"message": "/state___https://t.me/+xxxxx___@channel"}'
Revoke Invite Link
curl -X POST https://yourdomain.com/index.php \
-H "Content-Type: application/json" \
-d '{"message": "/revoke___@channel___https://t.me/+xxxxx"}'
Promote Bot to Admin
curl -X POST https://yourdomain.com/index.php \
-H "Content-Type: application/json" \
-d '{"message": "/adminbot___@channel"}'
View Full Documentation