Spatio.Model.Comment (spatio_sdk v0.0.2)

Threaded comment on a note. Top-level comments have parentCommentId: null; replies set it to the parent comment's id. blockId anchors the comment to a specific block; comments without a blockId are note-level ("general") comments.

Summary

Types

t()

@type t() :: %Spatio.Model.Comment{
  author: Spatio.Model.CommentAuthor.t(),
  blockId: String.t() | nil,
  body: String.t(),
  createdAt: DateTime.t(),
  id: String.t(),
  noteId: String.t(),
  parentCommentId: String.t() | nil,
  updatedAt: DateTime.t()
}

Functions

decode(value)