Skip to content
Advertisement

Tag: slack

Slack API upload string as file

I have a sting variable of a csv. I want to upload it to a slack channel as a .csv file, not as text. This code returns: error: ‘no_file_data’, Changing content to file gives the same response. What do I have to do to convert the csv sting into a file that can be uploaded? I can’t use fs to

Advertisement