Memo (message)
create(vaultId, message)
vaultId
(string
, required)message
(string
, required) - memo contentoptions
(NodeCreateOptions
, optional) - parent id, etc.returns
Promise<{ memoId, transactionId }>
- Promise with new memo id & corresponding transaction id
addReaction(memoId, reaction)
memoId
(string
, required)reaction
(reactionEmoji
, required)returns
Promise<{ transactionId }>
- Promise with corresponding transaction id
removeReaction(memoId, reaction)
memoId
(string
, required)reaction
(reactionEmoji
, required)returns
Promise<{ transactionId }>
- Promise with corresponding transaction id
get(memoId, options)
memoId
(string
, required)options
(GetOptions
, optional)returns
Promise<Memo>
- Promise with the memo object
listAll(vaultId, options)
vaultId
(string
, required)options
(ListOptions
, optional)returns
Promise<Array<Memo>>
- Promise with all memos within given vault
list(vaultId, options)
vaultId
(string
, required)options
(ListOptions
, optional)returns
Promise<{ items, nextToken }>
- Promise with paginated memos within given vault
Last updated