filterFunction
talawa-api • Docs
talawa-api / resolvers/Subscription/messageSentToChat / filterFunction
Function: filterFunction()
> filterFunction(payload
, variables
): Promise
<boolean
>
Parameters
• payload
• payload.messageSentToChat
• payload.messageSentToChat.chatMessageBelongsTo: string
• variables
• variables.userId: string
Returns
Promise
<boolean
>