slack-bot-api | : rocket : Simple way to control your Slack Bot | Bot library
kandi X-RAY | slack-bot-api Summary
kandi X-RAY | slack-bot-api Summary
:rocket: Simple way to control your Slack Bot
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of slack-bot-api
slack-bot-api Key Features
slack-bot-api Examples and Code Snippets
Community Discussions
Trending Discussions on slack-bot-api
QUESTION
I'm using slackbots (https://github.com/mishk0/slack-bot-api) to create an interactive bot. I can, as a user, send message in chat and having my bot giving me an answer depending on what i wrote. Like if I type : !weekend, my bot will answer if weekend is close or not by fetching an API.
It's working this way
...ANSWER
Answered 2020-Feb-05 at 13:07This library seams to just forward parameters to the respective Slack API method, which is chat.postMessage
.
To post an image with Slack you need to include an image URL either within an attachment (outmoded) or blocks.
e.g. to attach an image wit attachments you would add this array via params
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install slack-bot-api
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page