public Chat(string username, string password, string channel, bool login = true) { _username = username.ToLower(); _password = password; _channel = channel.ToLower(); Me = TwitchAPI.getTwitchUser(_username); _messageStore = new MessageStore(); _tcpClient = new TcpClient("irc.twitch.tv", 6667); _networkStream = _tcpClient.GetStream(); _userMap = new UserMap(); if (login) { Login(); } }
public JoinPartMessage(TwitchUser user, bool joined) { this.User = user; this.Joined = joined; }
public ChatMessage(TwitchUser sender, Group message) { Sender = sender; Message = message.ToString(); }