-
Notifications
You must be signed in to change notification settings - Fork 26
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
Can't use search in channel ! #27
Comments
Hi! This issue was solved (by you 😄 ) in #28. I'm going to provide an example in the readme, thanks for pointing that out. |
I've just added this example in the readme: //Search a channel
$result = $driver->getChannelModel()->searchChannels($teamId, [
'term' => "full or partial name or display name of channels"
]); Let me know if it helps. |
Just perfect !! Many thanks :) Another last question, have you plan to support methods added in >5, for example https://api.mattermost.com/#tag/channels%2Fpaths%2F~1channels~1%7Bchannel_id%7D~1privacy%2Fput ? |
Sure, I'm going to add support for all new method as soon as I can, I hope I can do it even this weekend. I'll keep you updated. |
Hi, Thanks. |
Hi, Thank you! |
According to https://api.mattermost.com/#tag/channels%2Fpaths%2F~1teams~1%7Bteam_id%7D~1channels~1search%2Fpost
a HTTP Post was expected but in the code there is a get :
php-mattermost-driver/src/Models/ChannelModel.php
Line 322 in 56bea0d
About that, can't find an example, to inject data in post body.. :'( can you provide an example for that ?
Best regards,
And many thanks to share your work !
The text was updated successfully, but these errors were encountered: