def send_pm to, subject, text
      logged_in?
      post('/api/compose.json', body: {to: to, subject: subject, text: text, uh: @modhash, api_type: 'json'})
    end
def send_pm to, subject, text
      logged_in?
      post('/api/compose.json', body: {to: to, subject: subject, text: text, uh: @modhash, api_type: 'json'})
    end
Send a private message
 To reply to PM, use {LinksComments#comment}, with the PM id as the link id

 @param to [String] The username you are sending to
 @param subject [String] The subject of the message
 @param text [String] The message body
 @return (see #clear_sessions)