talawa-api / Exports / resolvers/Subscription/directMessageChat
Module: resolvers/Subscription/directMessageChat
Table of contents
Variables
Variables
directMessageChat
• Const
directMessageChat: SubscriptionResolvers
["directMessageChat"
]
This property contained a subscribe
field, which is used to subscribe
the user to get updates for the CHAT_CHANNEL
event.
Remarks
To control updates on a per-client basis, the function uses the withFilter
method imported from apollo-server-express
module.
You can learn about subscription
here.