Spatie\SlashCommand\Response::__construct PHP Method

__construct() public method

public __construct ( Client $client, Request $request )
$client GuzzleHttp\Client
$request Request
    public function __construct(Client $client, Request $request)
    {
        $this->client = $client;
        $this->request = $request;
        $this->channel = $request->channelName;
        $this->displayResponseToUserWhoTypedCommand();
        $this->attachments = new \Illuminate\Support\Collection();
    }