sender
talawa-api / resolvers/ChatMessage/sender / sender
Variable: sender
> const
sender: ChatMessageResolvers
["sender"
]
This resolver function will fetch and return the sender(user) of the Chat from the database.
Param
An object that is the return value of the resolver for this field's parent.
Returns
An object
that contains User's data.