Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $token = '777';
- $ch = 'https://api.telegram.org/bot' . $token;
- $response = array(
- 'offset' => -341090440
- );
- $ch = curl_init($ch . '/getUpdates');
- curl_setopt($ch, CURLOPT_POSTFIELDS, $response);
- $sendMessage = curl_exec($ch);
- $sendMessage = json_decode($sendMessage, true);
- echo $sendMessage;
- curl_close($ch);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment