Glific v0.3.1 Glific.Groups.ContactGroups View Source

Simple container to hold all the contact groups we associate with one contact

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Glific.Groups.ContactGroups{
  contact_groups: [Glific.Groups.ContactGroup.t()],
  number_deleted: non_neg_integer()
}

Link to this section Functions

Link to this function

update_contact_groups(attrs)

View Source

Specs

update_contact_groups(map()) :: t()

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