Skip to content

defu3e/TG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

TG

Helper class for working with Telegram bot

General info

This class helps to interact with telegram bot Helper class based on curl

Usage

Add php class to your project:

require_once('TG.php');

Create object of TG:

$tgBotToken = "123Abc"
$tg = new TG($tgBotToken);

Example:

//send message to telegram bot
$chatId = 123;
$mes = "Hello world"
$tg->send($chatId, $mes)

About

Helper class to work with Telegram bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages