I’m trying to use a function called searchPostsWithParams in mattermost-redux/src/actions/search to retrieve posts limited by some params like channel name.
The function was called under registry.registerPostsDropDownMenuAction
var messages = searchPostsWithParams(teamid, param)
Is this the right way to call a function from mattermost-redux/src/actions/search? But i cant get the posts as i expected.
Any information on how to solve this issue? Thanks in advance.