Hunter.Context (hunter v0.6.0)

Copy Markdown View Source

Context entity

Fields

  • ancestors - The ancestors of the status in the conversation, as a list of Statuses
  • descendants - The descendants of the status in the conversation, as a list of Statuses

Summary

Functions

Retrieve status context

Types

t()

@type t() :: %Hunter.Context{
  ancestors: [Hunter.Status.t()],
  descendants: [Hunter.Status.t()]
}

Functions

status_context(conn, id)

@spec status_context(Hunter.Client.t(), non_neg_integer()) :: t()

Retrieve status context

Parameters

  • conn - connection credentials
  • id - status identifier