Skip to main content

talawa-api / Exports / resolvers/Mutation/createMessageChat

Module: resolvers/Mutation/createMessageChat

Table of contents

Variables

Variables

createMessageChat

Const createMessageChat: MutationResolvers["createMessageChat"]

This function enables to create a 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 receiver user exists
  2. If the sender and receiver users have same language code.

Defined in

src/resolvers/Mutation/createMessageChat.ts:15