Added inviteGroup to Api