Slack Morphism is a modern client library for Slack Web/Events API and Block Kit.
Please follow to the official website: https://slack-rust.abdolence.dev
https://github.com/abdolence/slack-morphism-rust/tree/master/src/examples/src
The example bot requires to work the following environment variables (from your Slack bot profile in api.slack.com):
- SLACK_CLIENT_ID, SLACK_CLIENT_SECRET, SLACK_BOT_SCOPE, SLACK_REDIRECT_HOST - for OAuth
- SLACK_SIGNING_SECRET for all routes
Routes for this example are available on http://:8080:
- /auth/install - to begin OAuth installation
- /auth/callback - a callback endpoint for Slack OAuth profile config
- /push - for Slack Push Events
- /interaction - for Slack Interaction Events
- /command - for Slack Command Events
Apache Software License (ASL)
Abdulla Abdurakhmanov