Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SearchMessagesGetResponse200 is empty and we can't get the responses #59

Closed
damienalexandre opened this issue Oct 12, 2019 · 2 comments
Closed
Labels
bug Something isn't working Hacktoberfest

Comments

@damienalexandre
Copy link
Member

Using the searchMessage method is useless at the moment,
the response is an empty object because Slack Definition is lacking the full schema.

$results = $client->searchMessages([
            'query' => 'Message with attachment',
            'count' => 1
        ]);

https://github.com/jolicode/slack-php-api/blob/master/generated/Model/SearchMessagesGetResponse200.php

@damienalexandre damienalexandre added bug Something isn't working Hacktoberfest labels Oct 12, 2019
@damienalexandre
Copy link
Member Author

This bug is still relevant. But the good news is that SearchMessagesGetResponse200.php now extends \ArrayObject so the data can be accessed.

@damienalexandre
Copy link
Member Author

Issue moved upstream: slackapi/slack-api-specs#47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant