def do_send_create_user_group_event(user_group: UserGroup, members: List[UserProfile]) -> None:
    event = dict(type='user_group', op='add', group=dict(name=user_group.name, members=[member.id for member in members], description=user_group.description, id=user_group.id))
    send_event(user_group.realm, event, active_user_ids(user_group.realm_id))
def do_send_create_user_group_event(user_group: UserGroup, members: List[UserProfile]) -> None:
    event = dict(type='user_group', op='add', group=dict(name=user_group.name, members=[member.id for member in members], description=user_group.description, id=user_group.id))
    send_event(user_group.realm, event, active_user_ids(user_group.realm_id))