public bool ChannelSendMessage(string channel, string message)
{
if (channel == null)
throw new ArgumentNullException("channel");
if (message == null)
throw new ArgumentNullException("message");
message = EscapeString(message);
return !this.getConnection().Exec("sendmessage", new string[] { channel, message }).IsError;
}