Skip to content

Mirocow/yii2-telegram-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Telegram BOT client/sever

This extension helps to create a bot for Telegrams applications. It is a complete solution to run background tasks allowing to accept, process and respond to the message from the Telegram.

'modules' => [
	'telegram' => [
		'class' => 'mirocow\telegram\Module',
		'token' => 'api-telegram-token',
		'commands' => [
			'help' => 'app\commands\HelpCommand',
		],
	],
],			

After install you can start bot with

nohup php ./yii telegram/bot/index

And after you can run /help in the chat of the Teleram client.

About

Yii2 extension for PHP Telegram Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages