Topics do not appear in the specified Slack channel

So if I configured rules for a channel, I should be able to run slash commands on that channel, right? Does this apply to private channels as well? Because I can’t seem to get it to work on private channels for some reason.