Slack Integration Scope search.messages missing?

Hi,
as far as I understood while setting up the Slack connection you are seeing every possible permission the slack integration offers in the scope field.

Is there a reasons that the method "search.messages" / the scope:
search:read [search.messages method | Slack] is not included?
Can I use this Slack Endpoint within retool?

Thank you,
Florian

Connect to Slack

ya you can use the search.messages method, you'll just need to either add search:read to the resource settings or request authorization from the user using https://slack.com/oauth/v2/authorize?scope=search:read&client_id=aabbcc&redirectUri=myapp.com. I think you can also use the admin sdk.

as for why it isn't a default, I can only guess, but I'd assume it's because search:read requires a user token, which is more fine grained access than bot tokens which are like the default or base scopes you'd need