From 7d1cc3da04b51f24178ccfa64b7329d28048b35a Mon Sep 17 00:00:00 2001 From: SHOO Date: Wed, 13 Nov 2024 02:05:28 +0900 Subject: [PATCH] Fix documents --- src/bsky/client.d | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/bsky/client.d b/src/bsky/client.d index 3f8a5ef..cc06940 100644 --- a/src/bsky/client.d +++ b/src/bsky/client.d @@ -1859,12 +1859,11 @@ public: * Params: * record = Record of post * message = Main text of post - * langs = Array of language of post, default (null) is nothing * images = Embed images of post * opts = Optional parameter of `com.atproto.repo.createRecord`
- * ex1) langs: `JSONValue(["record": JSONValue(["langs": JSONValue(["us", "ja"])])])`
- * ex2) validation: `JSONValue(["validation": true])`
- * ex3) optional field: `JSONValue(["validation": JSONValue(false), "record": JSONValue(["optionalField": "data"])])` + * (ex1) langs: `JSONValue(["record": JSONValue(["langs": JSONValue(["th", "en-US"])])])`
+ * (ex2) validation: `JSONValue(["validation": true])`
+ * (ex3) optional field: `JSONValue(["validation": JSONValue(false), "record": JSONValue(["optionalField": "data"])])` */ PostRef sendPost(string message, Embed embed, ReplyRef replyRef = ReplyRef.init, JSONValue opts = JSONValue.init) @safe