Hunter.Conversation (hunter v0.7.0)

Copy Markdown View Source

Conversation entity

A conversation with "direct message" visibility

Fields

  • id - the ID of the conversation
  • unread - whether the conversation is currently marked as unread
  • accounts - list of Hunter.Account, participants in the conversation
  • last_status - the last Hunter.Status in the conversation, if any

Summary

Types

t()

@type t() :: %Hunter.Conversation{
  accounts: [Hunter.Account.t()],
  id: String.t(),
  last_status: Hunter.Status.t() | nil,
  unread: boolean()
}