public function run(int $type = WEBHOOK)
    {
        if ($type == WEBHOOK) {
            $this->_is_webhook = true;
            $this->init();
            $this->processWebhookUpdate();
            return;
        }

        if ($type == DEBUG) {
            $this->debug = true;
        }

        $this->init();
        $this->getUpdatesLocal();
    }