joinGroup = async options => {
  let defaults = {
      user: null,
      added_by: null,
      group: null,
      when: '',
      done: () => null,
    },
    obj = { ...defaults, ...options },
    { user, added_by, group, when, done } = obj,
    {
      data: { mssg, success },
    } = await post('/api/join-group', { user, added_by, group, when })

  if (success) {
    if (when == 'add_grp_member') {
      insta_notify({
        to: user,
        type: 'add_grp_member',
        group_id: group,
      })
    }

    done()
  }

  Notify({ value: mssg })
}
Join group

user, group, when & done properties must be provided
@param {Object} options Options for joining group
@param {Number} options.user
@param {Number} options.added_by
@param {Number} options.group
@param {String} options.when
@param {Function} options.done