Yii2 extension for PHP Telegram Bot
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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 cliet.