appzz/telegram-message

Send telegram message via bot and curlclient library

1.0.2 2024-12-19 10:23 UTC

This package is auto-updated.

Last update: 2024-12-19 10:23:56 UTC


README

Send messages to tg group via bot

Preparing

Usage

<?php
	$tg = TelegramMessage::factory ();
	$tg->token('00000000000000000000000000000000000000000000000');
	$tg->chat_id('-0000000000000000000');
	//$tg->markdown();
	$tg->text("Ut semper!!!");
	//$tg->silent(true);
	$result = $tg->send();
?>