XmtpElixirSdk.Events.PreferenceUpdated (xmtp_elixir_sdk v0.1.2)

Copy Markdown

Preference updates emitted by Preferences.sync/1 and consent changes.

updates always contains XmtpElixirSdk.Types.PreferenceUpdate values:

  • %PreferenceUpdate{kind: :hmac_key, consent: nil}
  • %PreferenceUpdate{kind: :consent, consent: %ConsentUpdate{...}}

Summary

Types

t()

@type t() :: %XmtpElixirSdk.Events.PreferenceUpdated{
  updates: [XmtpElixirSdk.Types.PreferenceUpdate.t()]
}