I've built an app that receives events.
By default, the scope channels:history
lets it receive events for all messages in all public channels of the user who added the app.
Ideally the user would be able to limit it to only some channels, right in app settings. (Any event the app receives will be made world readable.)
Right now I see 2 options:
The message event contains the channel id (not the name). So code can filter on channel, assuming there is a way to set it and the user trusts it.
Create a bot user (even though the app is read-only) that the user can add to specific channels.
Is there a better way?