I need to create a new slack app which can trigger the execution of slack commands, for example - /topic NewTopic
needs to be executed by my slack app.
This is kind of a duplicate to this and this, but these got concluded with chat.command
undocumented method which make use of slack's legacy tokens, and slack warns against the use of legacy tokens.
So I am looking if there is any new way which can accomplish this task of being able to execute slack command programmatically from a slack app.