*/
bool IsTimed() const { return (expiretimer != NULL); }
+ /** Serialize this object
+ * @param human Whether to serialize for human consumption or not.
+ * @param show_chans True to include channel in the output, false to include the nick/uuid
+ * @param out Output will be appended to this string
+ */
+ void Serialize(bool human, bool show_chans, std::string& out);
+
friend class APIImpl;
private: