Comments (8)
Not sure if this will fit your use case, but there's an Attachments
property on the BotMessage
class that takes a list of type SlackAttachment
which lives here :)
from slackconnector.
I was looking to see if there was something for this .
from slackconnector.
Sorry, attachment files isn't supported at this time. I will add this to the feature list.
from slackconnector.
I have a bare bones implementation of this with an integration test. I'll clean it up this week and submit a pull request. It adds a BotFileUpload model, and modifies the IChatClient and ISlackConnection interfaces to upload a file based on a fully qualified file path. Use case was to allow users to pull reports from our project management software directly from Slack. A more sophisticated implementation would do this with streams and RequestWriters, but that's beyond my immediate needs.
from slackconnector.
Pull request submitted
from slackconnector.
from slackconnector.
from slackconnector.
Version 3.1.142 has been released.
from slackconnector.
Related Issues (20)
- Interactive Message HOT 4
- Error using Interactive Messages HOT 3
- Missing Message Type causing exception when connecting HOT 2
- OnMessageReceived not triggered by Webhook HOT 3
- SlackConnector and Noobot HOT 1
- Accessing user name instead of user HOT 1
- Question: Uploading File HOT 1
- Doesn't connect with proxy HOT 1
- LinkButton Support
- Missing file comment in incoming SlackFile HOT 4
- The Write method cannot be called when another write operation is pending HOT 3
- Unable to send attachments that are over a certain size
- TLS 1.2 HOT 6
- Cannot get SlackConnector to work with Slack TLS 1.2
- Missing SlackAttachmentAction type 'select'
- PingPongMonitor alive even after closing connection HOT 1
- chat.PostMessage: Switch to HTTP POST instead of GET HOT 1
- Getting "invalid_auth" error once I try to connect to slack but via Postman using App-Level Token it's working ! HOT 2
- Error occured while posting message 'method_deprecated' HOT 1
- ChatHub always null? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slackconnector.