pleroma: add docs to PostStatus

This commit is contained in:
uwaa 2024-12-16 03:57:06 +00:00
parent fa56e8cb80
commit 95157f1200

View file

@ -99,7 +99,13 @@ public class Pleroma
/// <summary> /// <summary>
/// Posts a status. /// Posts a status.
/// </summary> /// </summary>
/// <param name="status">The status data to send, including the content, visibility, etc.</param> /// <param name="content">Text content of the status.</param>
/// <param name="sensitive">Mark status and attached media as sensitive?</param>
/// <param name="expiresIn">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.</param>
/// <param name="replyTo">ID of the status being replied to, if status is a reply</param>
/// <param name="quoting"> ID of the status being quoted.</param>
/// <param name="language">ISO 639 language code for this status.</param>
/// <param name="visibility">Visibility of the posted status.</param>
/// <exception cref="HttpRequestException">Thrown if something goes wrong while uploading the status.</exception> /// <exception cref="HttpRequestException">Thrown if something goes wrong while uploading the status.</exception>
/// <returns>The status if posting was successful.</returns> /// <returns>The status if posting was successful.</returns>
public Task<Status> PostStatus(string content, public Task<Status> PostStatus(string content,