This commit is contained in:
Tokumeikoi 2020-05-28 14:28:10 +08:00
parent b7e8db727c
commit 17e3905f18
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ class TelegramController extends Controller
private function getMessage(array $data)
{
if (!$data['message']) return false;
if (!isset($data['message'])) return false;
$obj = new \StdClass();
$obj->is_private = $data['message']['chat']['type'] === 'private' ? true : false;
$text = explode(' ', $data['message']['text']);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long