You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users should be able to add attachments (like images) to a message.
Add a file selector to the MessageInput component.
In SlackClient's postMessage method, add an optional param for file.
If the file exists, instead of .chat.post, we'll need to use the .files.upload function with the following form data: { file: {filepath}, channels: {channel}, initial_comment: {message} }
The text was updated successfully, but these errors were encountered:
Users should be able to add attachments (like images) to a message.
MessageInput
component.If the file exists, instead of
.chat.post
, we'll need to use the.files.upload
function with the following form data:{ file: {filepath}, channels: {channel}, initial_comment: {message} }
The text was updated successfully, but these errors were encountered: