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

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

Link to this section Summary

Functions

Creates and/or deletes a list of group users, each user attached to the same group

Link to this section Types

@type t() :: %Glific.Groups.GroupUsers{
  group_users: [Glific.Groups.UserGroup.t()],
  number_deleted: non_neg_integer()
}

Link to this section Functions

Link to this function

update_group_users(attrs)

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

Creates and/or deletes a list of group users, each user attached to the same group