findById($user->id); if (!$account->phone) return null; $params = [ $params['course']['title'], $params['chapter']['title'], date('H:i', $params['live']['start_time']), ]; $templateId = $this->getTemplateId($this->templateCode); return $this->send($account->phone, $templateId, $params); } }