talawa-api / Exports / resolvers/Mutation/sendMessageToGroupChat
Module: resolvers/Mutation/sendMessageToGroupChat
Table of contents
Variables
Variables
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.