Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 923 Bytes

resolvers_Mutation_createMessageChat.md

File metadata and controls

40 lines (21 loc) · 923 Bytes

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