removeUserFromUserFamily
talawa-api • Docs
talawa-api / resolvers/Mutation/removeUserFromUserFamily / removeUserFromUserFamily
Variable: removeUserFromUserFamily
> const
removeUserFromUserFamily: MutationResolvers
["removeUserFromUserFamily"
]
This function enables to remove a user from group chat.
Param
parent of current request
Param
payload provided with the request
Param
context of entire publication
Remarks
The following checks are done:
- If the family exists.
- If the user to be removed is member of the organisation.
- If the user is admin of the family
Returns
Updated group chat.