update: telegram bot modularization

This commit is contained in:
tokumeikoi
2022-01-27 01:46:26 +08:00
parent 1790de63f6
commit 5bf1dd3426
12 changed files with 279 additions and 156 deletions

View File

@ -0,0 +1,15 @@
<?php
namespace App\Plugins\Telegram;
use App\Services\TelegramService;
abstract class Telegram {
abstract protected function handle($message, $match);
public $telegramService;
public function __construct()
{
$this->telegramService = new TelegramService();
}
}