def do_send_user_group_members_update_event(event_name: str, user_group: UserGroup, user_ids: List[int]) -> None:
    event = dict(type='user_group', op=event_name, group_id=user_group.id, user_ids=user_ids)
    send_event(user_group.realm, event, active_user_ids(user_group.realm_id))
def do_send_user_group_members_update_event(event_name: str, user_group: UserGroup, user_ids: List[int]) -> None:
    event = dict(type='user_group', op=event_name, group_id=user_group.id, user_ids=user_ids)
    send_event(user_group.realm, event, active_user_ids(user_group.realm_id))