15 foreach ($this->
getAction()->getArguments() as $argument)
17 if ($argument instanceof
Message)
19 if (!$argument->getId())
24 if ($argument->getId() < $argument->getChat()->getStartId())
28 return new EventResult(EventResult::ERROR,
null,
null, $this);
34 $messages = $argument;
35 $this->filterMessagesByStartId($messages);
36 if ($messages->count() === 0)
40 return new EventResult(EventResult::ERROR,
null,
null, $this);