protected function makeBot($name)
    {
        $config = $this->getBotConfig($name);

        $token = array_get($config, 'token');
        $commands = array_get($config, 'commands', []);
        $callbacks = array_get($config, 'callbacks', []);

        $telegram = new Api(
            $token,
            $this->getConfig('async_requests', false),
            $this->getConfig('http_client_handler', null)
        );

        // Check if DI needs to be enabled for Commands
        if ($this->getConfig('resolve_command_dependencies', false) && isset($this->container)) {
            $telegram->setContainer($this->container);
        }

        $commands = $this->parseBotCommands($commands);
        $callbacks = $this->parseCallbacks($callbacks);

        // Register Commands
        $telegram->addCommands($commands);
        $telegram->getCallbackBus()->addCallbackCommands($callbacks);

        return $telegram;
    }