Skip to content

Commit 8b53d4f

Browse files
feat(deps): Upgrade the generated code with latest JanePHP release (#155)
* feat(deps): Upgrade the generated code with latest JanePHP release * fix(cs): PHP CS Fixer upgrade * fix(tests): Add PHP 8.2 and try to fix the rate limit issue * fix(tests): Remove PHP 8.2 and add CI env var
1 parent bce68b0 commit 8b53d4f

File tree

1,078 files changed

+7445
-3451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,078 files changed

+7445
-3451
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,4 @@ jobs:
6969
env:
7070
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
7171
SLACK_TEST_CHANNEL: ${{ secrets.SLACK_TEST_CHANNEL }}
72+
CI: ${{ vars.CI }}

.php-cs-fixer.php

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
'declare_strict_types' => true,
4545
'ordered_class_elements' => true, // Symfony(PSR12) override the default value, but we don't want
4646
'blank_line_before_statement' => true, // Symfony(PSR12) override the default value, but we don't want
47+
'get_class_to_class_keyword' => false, // To keep PHP 7.4 compat
4748
])
4849
->setFinder($finder)
4950
;

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
* Upgrade JanePHP generated code
6+
57
## 4.5.0 (2022-03-30)
68

79
* Fix `jane-php/open-api-2` version mismatch breaking the SDK generation

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# A PHP client for Slack's API
22

3-
There is a bunch of existing PHP clients for Slack. But some are not up to date
3+
There is a bunch of existing PHP clients for Slack. But some are not up-to-date
44
or miss features, some only cover a small part of the API and most are simply
55
no longer maintained.
66

77
This SDK is generated automatically with [JanePHP](https://github.com/janephp/janephp)
88
from the [official Slack API specs](https://github.com/slackapi/slack-api-specs).
99

10-
It also provides a **full object oriented interface** for all the endpoints,
10+
It also provides a **full object-oriented interface** for all the endpoints,
1111
requests and responses of the Slack Web API.
1212

1313
## Installation
@@ -47,7 +47,7 @@ Want more documentation or examples? See the [full documentation here](https://j
4747
You can see the current and past versions using one of the following:
4848

4949
* the `git tag` command
50-
* the [releases page on Github](https://github.com/jolicode/slack-php-api/releases)
50+
* the [releases page on GitHub](https://github.com/jolicode/slack-php-api/releases)
5151
* the file listing the [changes between versions](CHANGELOG.md)
5252

5353
Finally, some meta documentation:

composer.json

+5
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,10 @@
4545
},
4646
"conflict": {
4747
"php-http/httplug": "< 2.0"
48+
},
49+
"config": {
50+
"allow-plugins": {
51+
"php-http/discovery": true
52+
}
4853
}
4954
}

generated/Endpoint/AdminAppsApprove.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8888
}
8989

9090
/**
91-
* {@inheritdoc}
92-
*
9391
* @return \JoliCode\Slack\Api\Model\AdminAppsApprovePostResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovePostResponsedefault|null
9492
*/
95-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
93+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9694
{
95+
$status = $response->getStatusCode();
96+
$body = (string) $response->getBody();
9797
if (200 === $status) {
9898
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsApprovePostResponse200', 'json');
9999
}

generated/Endpoint/AdminAppsApprovedList.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7575
}
7676

7777
/**
78-
* {@inheritdoc}
79-
*
8078
* @return \JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponsedefault|null
8179
*/
82-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
80+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
8381
{
82+
$status = $response->getStatusCode();
83+
$body = (string) $response->getBody();
8484
if (200 === $status) {
8585
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsApprovedListGetResponse200', 'json');
8686
}

generated/Endpoint/AdminAppsRequestsList.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7373
}
7474

7575
/**
76-
* {@inheritdoc}
77-
*
7876
* @return \JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponsedefault|null
7977
*/
80-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
78+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
8179
{
80+
$status = $response->getStatusCode();
81+
$body = (string) $response->getBody();
8282
if (200 === $status) {
8383
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRequestsListGetResponse200', 'json');
8484
}

generated/Endpoint/AdminAppsRestrict.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8888
}
8989

9090
/**
91-
* {@inheritdoc}
92-
*
9391
* @return \JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponsedefault|null
9492
*/
95-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
93+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9694
{
95+
$status = $response->getStatusCode();
96+
$body = (string) $response->getBody();
9797
if (200 === $status) {
9898
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRestrictPostResponse200', 'json');
9999
}

generated/Endpoint/AdminAppsRestrictedList.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7575
}
7676

7777
/**
78-
* {@inheritdoc}
79-
*
8078
* @return \JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponsedefault|null
8179
*/
82-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
80+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
8381
{
82+
$status = $response->getStatusCode();
83+
$body = (string) $response->getBody();
8484
if (200 === $status) {
8585
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRestrictedListGetResponse200', 'json');
8686
}

generated/Endpoint/AdminConversationsArchive.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8484
}
8585

8686
/**
87-
* {@inheritdoc}
88-
*
8987
* @return \JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponsedefault|null
9088
*/
91-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
89+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9290
{
91+
$status = $response->getStatusCode();
92+
$body = (string) $response->getBody();
9393
if (200 === $status) {
9494
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsArchivePostResponse200', 'json');
9595
}

generated/Endpoint/AdminConversationsConvertToPrivate.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8484
}
8585

8686
/**
87-
* {@inheritdoc}
88-
*
8987
* @return \JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponsedefault|null
9088
*/
91-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
89+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9290
{
91+
$status = $response->getStatusCode();
92+
$body = (string) $response->getBody();
9393
if (200 === $status) {
9494
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsConvertToPrivatePostResponse200', 'json');
9595
}

generated/Endpoint/AdminConversationsCreate.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
9292
}
9393

9494
/**
95-
* {@inheritdoc}
96-
*
9795
* @return \JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponsedefault|null
9896
*/
99-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
97+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
10098
{
99+
$status = $response->getStatusCode();
100+
$body = (string) $response->getBody();
101101
if (200 === $status) {
102102
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsCreatePostResponse200', 'json');
103103
}

generated/Endpoint/AdminConversationsDelete.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8484
}
8585

8686
/**
87-
* {@inheritdoc}
88-
*
8987
* @return \JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponsedefault|null
9088
*/
91-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
89+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9290
{
91+
$status = $response->getStatusCode();
92+
$body = (string) $response->getBody();
9393
if (200 === $status) {
9494
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsDeletePostResponse200', 'json');
9595
}

generated/Endpoint/AdminConversationsDisconnectShared.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8686
}
8787

8888
/**
89-
* {@inheritdoc}
90-
*
9189
* @return \JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponsedefault|null
9290
*/
93-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
91+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9492
{
93+
$status = $response->getStatusCode();
94+
$body = (string) $response->getBody();
9595
if (200 === $status) {
9696
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsDisconnectSharedPostResponse200', 'json');
9797
}

generated/Endpoint/AdminConversationsEkmListOriginalConnectedChannelInfo.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7575
}
7676

7777
/**
78-
* {@inheritdoc}
79-
*
8078
* @return \JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault|null
8179
*/
82-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
80+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
8381
{
82+
$status = $response->getStatusCode();
83+
$body = (string) $response->getBody();
8484
if (200 === $status) {
8585
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200', 'json');
8686
}

generated/Endpoint/AdminConversationsGetConversationPrefs.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8484
}
8585

8686
/**
87-
* {@inheritdoc}
88-
*
8987
* @return \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponsedefault|null
9088
*/
91-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
89+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9290
{
91+
$status = $response->getStatusCode();
92+
$body = (string) $response->getBody();
9393
if (200 === $status) {
9494
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsGetConversationPrefsGetResponse200', 'json');
9595
}

generated/Endpoint/AdminConversationsGetTeams.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8888
}
8989

9090
/**
91-
* {@inheritdoc}
92-
*
9391
* @return \JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponsedefault|null
9492
*/
95-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
93+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9694
{
95+
$status = $response->getStatusCode();
96+
$body = (string) $response->getBody();
9797
if (200 === $status) {
9898
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsGetTeamsGetResponse200', 'json');
9999
}

generated/Endpoint/AdminConversationsInvite.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8686
}
8787

8888
/**
89-
* {@inheritdoc}
90-
*
9189
* @return \JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponsedefault|null
9290
*/
93-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
91+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9492
{
93+
$status = $response->getStatusCode();
94+
$body = (string) $response->getBody();
9595
if (200 === $status) {
9696
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsInvitePostResponse200', 'json');
9797
}

generated/Endpoint/AdminConversationsRename.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
8686
}
8787

8888
/**
89-
* {@inheritdoc}
90-
*
9189
* @return \JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponsedefault|null
9290
*/
93-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
91+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
9492
{
93+
$status = $response->getStatusCode();
94+
$body = (string) $response->getBody();
9595
if (200 === $status) {
9696
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsRenamePostResponse200', 'json');
9797
}

generated/Endpoint/AdminConversationsRestrictAccessAddGroup.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\
7373
}
7474

7575
/**
76-
* {@inheritdoc}
77-
*
7876
* @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessAddGroupPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessAddGroupPostResponsedefault|null
7977
*/
80-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
78+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
8179
{
80+
$status = $response->getStatusCode();
81+
$body = (string) $response->getBody();
8282
if (200 === $status) {
8383
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsRestrictAccessAddGroupPostResponse200', 'json');
8484
}

generated/Endpoint/AdminConversationsRestrictAccessListGroups.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
7171
}
7272

7373
/**
74-
* {@inheritdoc}
75-
*
7674
* @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessListGroupsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessListGroupsGetResponsedefault|null
7775
*/
78-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
76+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
7977
{
78+
$status = $response->getStatusCode();
79+
$body = (string) $response->getBody();
8080
if (200 === $status) {
8181
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsRestrictAccessListGroupsGetResponse200', 'json');
8282
}

generated/Endpoint/AdminConversationsRestrictAccessRemoveGroup.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\
7373
}
7474

7575
/**
76-
* {@inheritdoc}
77-
*
7876
* @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessRemoveGroupPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessRemoveGroupPostResponsedefault|null
7977
*/
80-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
78+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
8179
{
80+
$status = $response->getStatusCode();
81+
$body = (string) $response->getBody();
8282
if (200 === $status) {
8383
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsRestrictAccessRemoveGroupPostResponse200', 'json');
8484
}

generated/Endpoint/AdminConversationsSearch.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
9696
}
9797

9898
/**
99-
* {@inheritdoc}
100-
*
10199
* @return \JoliCode\Slack\Api\Model\AdminConversationsSearchGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsSearchGetResponsedefault|null
102100
*/
103-
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
101+
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
104102
{
103+
$status = $response->getStatusCode();
104+
$body = (string) $response->getBody();
105105
if (200 === $status) {
106106
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsSearchGetResponse200', 'json');
107107
}

0 commit comments

Comments
 (0)