Closed amorev closed 4 years ago
I think it will be better to configure api host in the constructor for not using constants. After this PR the initialization of Client can be like this:
$client = new Client('https://demo.rocket.chat/api/v1/');
But it is still possible to use it as usual.
I think it will be better to configure api host in the constructor for not using constants. After this PR the initialization of Client can be like this:
But it is still possible to use it as usual.