Inumedia / SlackAPI

.NET Implementation of the Slack team communication platform API.
MIT License
452 stars 243 forks source link

MessageHistory class doesn't include reactions #49

Closed CSharpDummy closed 8 years ago

CSharpDummy commented 8 years ago

Getting channel history works, but the reactions are missing. According to:

https://api.slack.com/methods/channels.history

There should be an array of reactions.

CSharpDummy commented 8 years ago

Class should look like this:

public class Message : SlackSocketMessage
{
    public string channel;
    public DateTime ts;
    public string user;
    /// <summary>
    /// Isn't always set. Should look up if not set.
    /// </summary>
    public string username;
    public string text;
    public bool is_starred;
    public string permalink;
    public List<Reaction> reactions;
    public bool? wibblr;
}