Skip to main content

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:

  1. If the group chat exists.
  2. If the user exists
  3. If the group chat contains the user.

Defined in

src/resolvers/Mutation/sendMessageToGroupChat.ts:20