Glific v0.3.1 Glific.Groups.GroupContacts View Source

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

Specs

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

Specs

update_group_contacts(map()) :: t()

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