ArchAstro. Types. ThreadReadStatus
(archastro v0.2.0)
Copy Markdown
The read status of a thread for a specific user, indicating how far they have read and how many messages remain unread.
Summary
Types
@type t() :: %ArchAstro.Types.ThreadReadStatus{ last_read_message: String.t() | ArchAstro.Unset.t(), thread: String.t(), unread_count: integer() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()