API Télégramme Envoi du message
use Telegram\Bot\Api;
2
3$telegram = new Api('2111634368:AAHqDuISbqN1t1o-j3UvfIuGevSpvwdGnZ0');
4
5$response = $telegram->sendMessage([
6 'chat_id' => 'CHAT_ID',
7 'text' => 'Hello World'
8]);
9
10$messageId = $response->getMessageId();
Crazy Curlew