![]() Our guide to directly sending messages talked you through a simple call to chat.postMessage. ![]() This scope lets your app retrieve a list of all the public channels in a workspace so you can pick one to publish a message to. If you don't already know the ID of the channel you wish to send messages to, you may also want to give your app another scope: channels:read. You grant your app permission to perform specific actions by giving its bot token the corresponding scopes.įor your app to send scheduled messages, it only needs one scope: chat:write. Your app uses a bot token to perform actions as itself. Now for some particularly pleasant permissions news: your app's permissions are actually the ones you've already acquired to post messages! Make sure you create the app in a workspace that won't mind you posting lots of test messages! Permissions If you don't have one yet, here's a very quick guide to help you create one. One thing you'll need before starting is a Slack app. ![]() After you've done that, come back here and keep reading. First, take a gander at our guide to sending messages. Scheduling a message is just a bit of fancy footwork on top of sending a message directly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |