PHP code example of jtrw / simple-telegram-message
1. Go to this page and download the library: Download jtrw/simple-telegram-message library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jtrw / simple-telegram-message example snippets
use Jtrw\SimpleTelegram\SimpleTelegramMessage;
$telegram = new SimpleTelegramMessage($token);
$telegram->sendMessage($idUser, $message);