How to upload any file on Slack via Slack-App in c#
问题 I need help with uploading files to Slack. I have a Slack-App that is working with my code(below) so far. But all I can do is post messages. I can not attach images to the messages - because I do not understand how to use the so called "methods" and the syntax Slack is "showing" on their API-page. This creates my "content" and below its just a Stream for reading a file I could upload: public class PostMessage { public FormUrlEncodedContent Content(string message, string file) { var values =