PHP code example of wramirez83 / telegram
1. Go to this page and download the library: Download wramirez83/telegram 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/ */
wramirez83 / telegram example snippets
use Wramirez83\Telegram\Telegram;
Telegram::sendMessage('Mensaje');
use Wramirez83\Telegram\Telegram;
Telegram::curFile('ver.txt'), 'nuevo archivos');
use Wramirez83\Telegram\Telegram;
$updates = Telegram::getUpdate();
use Wramirez83\Telegram\Telegram;
Telegram::sendPhoto($photo, $message);