public function __construct(BasePlugin $main, FireSyncChatQueryTask $task) { $this->class = Settings::$LOCALIZE_CLASS; $task->canFireNext = false; $this->lastId = $main->getInternalLastChatId(); parent::__construct($main); }