file: required, a public http(s) URL, max 200 characters. Allowedmessage: optional caption, max 1000 characters.to: a Telegram user ID or @username.curl --location '/api/telegram/send-media' \
--header 'Content-Type: application/json' \
--data-raw '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}",
"to": "@myclient",
"message": "Invoice",
"file": "https://example.com/invoice.pdf"
}'{
"success": true,
"data": {
"message_id": 12349,
"channel": "telegram",
"from": "mytguser",
"to": "@myclient"
}
}