Skip to content

Commit

Permalink
Fix documents
Browse files Browse the repository at this point in the history
  • Loading branch information
shoo committed Nov 12, 2024
1 parent 3021992 commit 7d1cc3d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/bsky/client.d
Original file line number Diff line number Diff line change
Expand Up @@ -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` <br />
* ex1) langs: `JSONValue(["record": JSONValue(["langs": JSONValue(["us", "ja"])])])` <br />
* ex2) validation: `JSONValue(["validation": true])` <br />
* ex3) optional field: `JSONValue(["validation": JSONValue(false), "record": JSONValue(["optionalField": "data"])])`
* (ex1) langs: `JSONValue(["record": JSONValue(["langs": JSONValue(["th", "en-US"])])])` <br />
* (ex2) validation: `JSONValue(["validation": true])` <br />
* (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
Expand Down

0 comments on commit 7d1cc3d

Please sign in to comment.