orbis.editPost()

Allow users to edit their posts. Only users who created the post can call this function.

How to use?

let res = await orbis.editPost("k...xm9", { body: "gn!" });

Parameters

  • stream_id: The ID of the post to edit.
  • content: object Content of the post (following the structure of the createPost function)
  • encryptionRules: object optional JSON object containing the optional encryption rules for this post. (following the structure of the createPost function)

Returns

{
  status: 200,
  result: "Success updating TileDocument."
}