Skip to content

Instantly share code, notes, and snippets.

@Clancey
Created August 23, 2019 00:08
Show Gist options
  • Save Clancey/02e7c54289658d2b38818d5bb43c09cb to your computer and use it in GitHub Desktop.
Save Clancey/02e7c54289658d2b38818d5bb43c09cb to your computer and use it in GitHub Desktop.
    public class Links
    {
    }
    public class Chatters
    {
        [JsonProperty("broadcaster")]
        public IList<string> Broadcaster { get; set; }
        [JsonProperty("vips")]
        public IList<object> Vips { get; set; }
        [JsonProperty("moderators")]
        public IList<string> Moderators { get; set; }
        [JsonProperty("staff")]
        public IList<object> Staff { get; set; }
        [JsonProperty("admins")]
        public IList<object> Admins { get; set; }
        [JsonProperty("global_mods")]
        public IList<object> GlobalMods { get; set; }
        [JsonProperty("viewers")]
        public IList<string> Viewers { get; set; }
    }
    public class ChatData
    {
        [JsonProperty("_links")]
        public Links Links { get; set; }
        [JsonProperty("chatter_count")]
        public int ChatterCount { get; set; }
        [JsonProperty("chatters")]
        public Chatters Chatters { get; set; }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment