You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
Hi there, I am a full stack developer at ClearEstate, trying to integrate your lib to our app!
inside Shapin\TalkJS\Api\Conversation, when updating a conversation, you are expecting an array of participants, where using directly the Talkjs REST API, this is not required, since the conversation already exists.
It would be great to have another function to explicitly updating a conversation:
/** * @throws Exception */publicfunctionupdate(string$id, array$params)
{
if (empty($params)) {
thrownewException\InvalidArgumentException('Params must be non-empty');
}
$response = $this->httpPut("conversations/$id", $params);
if (200 !== $response->getStatusCode()) {
$this->handleErrors($response);
}
return$this->hydrator->hydrate($response, Model\Conversation\ConversationCreatedOrUpdated::class);
}
Thank you so much for your time, really appreciate it.
The text was updated successfully, but these errors were encountered:
Hi there, I am a full stack developer at ClearEstate, trying to integrate your lib to our app!
inside
Shapin\TalkJS\Api\Conversation
, when updating a conversation, you are expecting an array of participants, where using directly the Talkjs REST API, this is not required, since the conversation already exists.It would be great to have another function to explicitly updating a conversation:
Thank you so much for your time, really appreciate it.
The text was updated successfully, but these errors were encountered: