Amarula.Content.Pin (amarula v0.5.5)

View Source

A received pin / unpin (content of a %Amarula.Msg{type: :pin}).

  • :key — the pinned message as an Amarula.Msg.ref/0.
  • :pinned?true for a pin, false for an unpin.

Summary

Types

t()

@type t() :: %Amarula.Content.Pin{key: Amarula.Msg.ref() | nil, pinned?: boolean()}