Kotoba.Nodes.Mention (Kotoba v0.5.0)

Copy Markdown View Source

A mention of a thing in the app (type "mention"), for example a person. The JSON keys are kind, id and label.

  • kind - the prompt kind that made the mention, for example "people".
  • id - the ID of the thing, as a string.
  • label - the text that the reader sees.

Summary

Types

t()

@type t() :: %Kotoba.Nodes.Mention{
  extra: term(),
  id: term(),
  kind: term(),
  label: term(),
  version: term()
}