twitchchat 0.14.8

interface to the irc-side of twitch's chat system
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::collections::HashSet;

/// Capabiltiies Twitch acknowledged.
#[derive(Clone, Debug, Default, PartialEq)]
pub struct Capabilities {
    /// You have the [membership](https://dev.twitch.tv/docs/irc/membership) capability
    pub membership: bool,
    /// You have the [commands](https://dev.twitch.tv/docs/irc/commands) capability
    pub commands: bool,
    /// You have the [tags](https://dev.twitch.tv/docs/irc/tags) capability
    pub tags: bool,
    /// A set of unknown capabilities Twitch sent to use
    pub unknown: HashSet<String>,
}