PHP code example of mohammad-rj / sdk-btelegram
1. Go to this page and download the library: Download mohammad-rj/sdk-btelegram 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/ */
mohammad-rj / sdk-btelegram example snippets
$re = result(file_get_contents('php://input'));
$SendMessage = new BT_SendMessage();
$SendMessage->botToken = $bot_token;
$SendMessage->chat_id = $re->chat_id;
$SendMessage->text = $re->text_result;
$SendMessage->SendMessage();
mkdir -p /var/www/html && cd $_
bash <(curl -s https://gist.githubusercontent.com/mohammad-rj/daad5f355cd1c90f96f6e0ff90378dd5/raw/install-base.sh)
composer