diff --git a/Pleroma/Pleroma.cs b/Pleroma/Pleroma.cs
index ebb597b..e77736a 100644
--- a/Pleroma/Pleroma.cs
+++ b/Pleroma/Pleroma.cs
@@ -230,6 +230,7 @@ public class Pleroma
/// Posts a status.
///
/// Text content of the status.
+ /// The MIME type of the .
/// Mark status and attached media as sensitive?
/// The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour.
/// ID of the status being replied to, if status is a reply
@@ -241,6 +242,7 @@ public class Pleroma
/// Thrown if something goes wrong while publishing the status.
/// The newly published status if posting was successful.
public Task PostStatus(string? content = null,
+ string content_type = "text/plain",
bool sensitive = false,
int? expiresIn = null,
StatusID? replyTo = null,
@@ -264,8 +266,8 @@ public class Pleroma
writer.WritePropertyName("status");
writer.WriteStringValue(content);
- writer.WritePropertyName("content-type");
- writer.WriteStringValue("text/plain");
+ writer.WritePropertyName("content_type");
+ writer.WriteStringValue(content_type);
}
if (sensitive)