lib/chatterbot/direct_messages.rb
def direct_message(txt, user=nil)
      return unless require_login

      if user.nil?
        user = current_user
      end
      client.create_direct_message(user, txt)
    end
def direct_message(txt, user=nil)
      return unless require_login

      if user.nil?
        user = current_user
      end
      client.create_direct_message(user, txt)
    end
def direct_message ( txt , user = nil ) return unless require_login if user . nil? user = current_user end client . create_direct_message ( user , txt ) end
send a direct message
send a direct message