PHP code example of rusadrako / telegram_notification
1. Go to this page and download the library: Download rusadrako/telegram_notification 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/ */
rusadrako / telegram_notification example snippets
use RusaDrako\telegram_notification\Bot;
$token = 'botToken'; // токен телеграм-бота
$options = [];
$tn_bot = new Bot($token, $options);