View Source Glific.Groups.GroupContacts (Glific v5.1.6)

Simple container to hold all the group contacts we associate with one group

Link to this section Summary

Functions

Creates and/or deletes a list of group contacts, each contact attached to the same group

Link to this section Types

@type t() :: %Glific.Groups.GroupContacts{
  group_contacts: [Glific.Groups.ContactGroup.t()],
  number_deleted: non_neg_integer()
}

Link to this section Functions

Link to this function

update_group_contacts(attrs)

View Source
@spec update_group_contacts(map()) :: t()

Creates and/or deletes a list of group contacts, each contact attached to the same group