Amarula.Content.Edit (amarula v0.5.5)

View Source

A received message edit (content of a %Amarula.Msg{type: :edit}).

  • :key — the edited message as an Amarula.Msg.ref/0.
  • :text — the new text.

Summary

Types

t()

@type t() :: %Amarula.Content.Edit{
  key: Amarula.Msg.ref() | nil,
  text: String.t() | nil
}