Spatio.Model.InboxItem (spatio_sdk v0.0.2)

A unified-feed item. Source-aware — category indicates which upstream platform (mail, dm, channel, mention, system) produced it; id is the inbox-item id (not the underlying message id).

Summary

Types

t()

@type t() :: %Spatio.Model.InboxItem{
  accountId: String.t() | nil,
  category: String.t(),
  id: String.t(),
  isMention: boolean() | nil,
  isRead: boolean() | nil,
  metadata: %{optional(String.t()) => any()} | nil,
  snippet: String.t() | nil,
  source: String.t() | nil,
  sourceId: String.t() | nil,
  timestamp: DateTime.t() | nil,
  title: String.t() | nil
}

Functions

decode(value)