#pragma once #include "apobject.h" #include "apbase.h" #include "fields.h" #include // APPost represents an ActivityPub Note Object class APPost : public APObject { public: APPost(); // A post that will be built from strings, including attachments APPost(APObjectFields fields); ~APPost() {}; QString get_html_render(HtmlRenderDetails render_info); protected: bool is_sensitive = false; QString summary; // content warning QStringList languages; QString content; QString get_html_status_languages(); };