sendMessageToGroupChat
talawa-api • Docs
talawa-api / resolvers/Mutation/sendMessageToGroupChat / sendMessageToGroupChat
Variable: sendMessageToGroupChat
> const
sendMessageToGroupChat: MutationResolvers
["sendMessageToGroupChat"
]
This function enables to send message to group chat.
Param
parent of current request
Param
payload provided with the request
Param
context of entire application
Remarks
The following checks are done:
- If the group chat exists.
- If the user exists
- If the group chat contains the user.