Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add "attachments[]" field to class Message #101

Closed
videokojot opened this issue Apr 1, 2017 · 4 comments
Closed

Please add "attachments[]" field to class Message #101

videokojot opened this issue Apr 1, 2017 · 4 comments
Milestone

Comments

@videokojot
Copy link

Class Message is missing attachments[] field.
For example when calling method https://api.slack.com/methods/im.history using WebClient like this and there is message with attachments:


            WebClient wc = new WebClient();
            wc.QueryString.Add("channel", "CHANNEL");
            wc.QueryString.Add("token", "YOUR_TOKEN");
            string result = wc.DownloadString("https://slack.com/api/im.history");
            var result = System.Text.RegularExpressions.Regex.Unescape(result);

you will recieve json with attachments[] field property.

But when using SlackClient there is no prop. like this on Message class...

Please add it,

Thank you very much.

@juliepromact
Copy link

@cincibuch did you work on this issue ?

@videokojot
Copy link
Author

i did not. i just did not used SlackAPI for this case.

@juliepromact
Copy link

ok

@gpailler
Copy link
Collaborator

gpailler commented Nov 2, 2018

Duplicate of #136
Fixed in the scope of #142

@gpailler gpailler added this to the 1.0.6 milestone Nov 2, 2018
@gpailler gpailler closed this as completed Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants