![]() ![]() ![]() todo ask to bake a birthday cake for in #d-social Let's look at an example Slash Command, for a simple app that stores a list of to-do tasks: Understanding the structure of Slash Commands Consider using app shortcuts for this purpose instead. Slash Commands cannot be used in message threads. Make sure you understand your app's audience before implementation. Slash Commands require a particular invocation structure that makes them less universally usable compared to other app entry points. When part of an app, they can be easily installed for your workspace as an single workspace app or shared with the world, distributed to other workspaces via the App Directory. Some commands like /topic and /remind are built into Slack ( here's a list of all of them) but others are created by developers like you for use with Slack Apps. They're the knock at your app's front door that could be the start of a great conversation. These commands are the entry points for complex workflows, integrations with external services, or even just simple message responses. The app can then respond in whatever way it wants using the context provided by that payload. Slash Commands allow users to invoke your app by typing a string into the message composer box.Ī submitted Slash Command will cause a payload of data to be sent from Slack to the associated app. ![]()
0 Comments
Leave a Reply. |