Amarula.Content.Contacts (amarula v0.4.4)
View SourceA received multi-contact card (content of a %Amarula.Msg{type: :contacts}).
:display_name— the array's group label (WhatsApp'sdisplayNameon the contacts-array message), distinct from each card's owndisplay_name.:contacts— the individual cards as%Amarula.Content.Contact{}.
Summary
Functions
Normalize a %Proto.Message.ContactsArrayMessage{} into a %Amarula.Content.Contacts{}.
Types
@type t() :: %Amarula.Content.Contacts{ contacts: [Amarula.Content.Contact.t()], display_name: String.t() | nil }