Skip to main content

talawa-api / Exports / resolvers/Mutation/sendMessageToDirectChat

Module: resolvers/Mutation/sendMessageToDirectChat

Table of contents

Variables

Variables

sendMessageToDirectChat

Const sendMessageToDirectChat: MutationResolvers["sendMessageToDirectChat"]

This function enables to send message to direct 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 direct chat exists.
  2. If the user exists

Defined in

src/resolvers/Mutation/sendMessageToDirectChat.ts:15