code: public function sendMsg($peer, $msg)
      {
          $peer = $this->escapePeer($peer);
          $msg  = $this->escapeStringArgument($msg);
  
          return $this->exec('msg ' . $peer . ' ' . $msg);
      }
docs: Sends a text message to $peer.
  
  @param string $peer The peer, gets escaped with escapePeer(),
  so you can directly use the values from getContactList()
  @param string $msg  The message to send, gets escaped with escapeStringArgument()
  
  @return boolean true on success, false otherwise
  
  @uses exec()
  @uses escapePeer()
  @uses escapeStringArgument()