<?php
// Replace with your actual bot token and user/chat ID
$botToken = "1315563150:AAEKQ95LKuOTzt7K82UitRfYdhvm5FGgkus";
$chatId = "1315563150";
$message = "Hello, this is a test message from my bot!";
// Telegram API URL for sending messages
$url = "https://a...content-available-to-author-only...m.org/bot$botToken/sendMessage";
// Prepare data to send
$data = [
'chat_id' => $chatId,
'text' => $message
];
// Initialize cURL session
// Execute cURL and get the response
// Close cURL session
// Print the response (optional)
echo $response;
?>
PD9waHAKLy8gUmVwbGFjZSB3aXRoIHlvdXIgYWN0dWFsIGJvdCB0b2tlbiBhbmQgdXNlci9jaGF0IElECiRib3RUb2tlbiA9ICIxMzE1NTYzMTUwOkFBRUtROTVMS3VPVHp0N0s4MlVpdFJmWWRodm01Rkdna3VzIjsKJGNoYXRJZCA9ICIxMzE1NTYzMTUwIjsKJG1lc3NhZ2UgPSAiSGVsbG8sIHRoaXMgaXMgYSB0ZXN0IG1lc3NhZ2UgZnJvbSBteSBib3QhIjsKCi8vIFRlbGVncmFtIEFQSSBVUkwgZm9yIHNlbmRpbmcgbWVzc2FnZXMKJHVybCA9ICJodHRwczovL2EuLi5jb250ZW50LWF2YWlsYWJsZS10by1hdXRob3Itb25seS4uLm0ub3JnL2JvdCRib3RUb2tlbi9zZW5kTWVzc2FnZSI7CgovLyBQcmVwYXJlIGRhdGEgdG8gc2VuZAokZGF0YSA9IFsKICAgICdjaGF0X2lkJyA9PiAkY2hhdElkLAogICAgJ3RleHQnID0+ICRtZXNzYWdlCl07CgovLyBJbml0aWFsaXplIGNVUkwgc2Vzc2lvbgokY2ggPSBjdXJsX2luaXQoJHVybCk7CmN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgdHJ1ZSk7CmN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9QT1NULCB0cnVlKTsKY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1BPU1RGSUVMRFMsICRkYXRhKTsKCi8vIEV4ZWN1dGUgY1VSTCBhbmQgZ2V0IHRoZSByZXNwb25zZQokcmVzcG9uc2UgPSBjdXJsX2V4ZWMoJGNoKTsKCi8vIENsb3NlIGNVUkwgc2Vzc2lvbgpjdXJsX2Nsb3NlKCRjaCk7CgovLyBQcmludCB0aGUgcmVzcG9uc2UgKG9wdGlvbmFsKQplY2hvICRyZXNwb25zZTsKPz4K