Amarula.Content.Protocol (amarula v0.4.3)

View Source

A received control frame (content of a %Amarula.Msg{type: :protocol}) — a bare protocolMessage Amarula doesn't surface as a user message (ephemeral / setting changes and other unhandled types). Delivered on the :protocol_update event, not :messages_upsert.

  • :type — the protocol-message type atom (e.g. :EPHEMERAL_SETTING). The full detail is on msg.raw if you need it.

Summary

Types

t()

@type t() :: %Amarula.Content.Protocol{type: atom() | nil}