SDK Reference
Methods
React

react

Used to react to a post.

How to use?

const res = await orbis.react(post_id, type);

Parameters

  • post_id - (stream) ID of the post the user is reacting on
  • type - string type of a reaction
    • like
    • haha
    • downvote

Returns

{
  status: 200,
  doc: "kjzl6cwe1...e4wvxhiqj",
  result: "Success creating TileDocument."
}