Sending messages simply way your channel or group with php
Download with ZIP and extract any folder.
<?php
require 'ClassTelegram.php';
$token = "YOUR_TOKEN"; // Required!
$channelID = "YOUR_CHANNEL_ID"; // Required!
$telegram = new ClassTelegram($channelID, $token);
$telegram->sendMessage("Type the message you want to send!");
<?php
require 'ClassTelegram.php';
$token = "YOUR_BOT_TOKEN"; // Required!
$telegram = new ClassTelegram($token);
echo $telegram->getChannelID(); // returns string