protected function sendMsgImpl(TemplateMessageCtxt $ctxt, $pointId = null) { //Убедимся, что очки действиельно даны получателю сообщения UserPointsManager::inst()->getPointById($pointId, $ctxt->getReceiver()->getId()); $ctxt->send($pointId); }