DirectChatMessageResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / DirectChatMessageResolvers
Type Alias: DirectChatMessageResolvers<ContextType, ParentType>
> DirectChatMessageResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["DirectChatMessage"
] = ResolversParentTypes
["DirectChatMessage"
]
Type declaration
__isTypeOf?
> optional
__isTypeOf: IsTypeOfResolverFn
<ParentType
, ContextType
>
_id?
> optional
_id: Resolver
<ResolversTypes
["ID"
], ParentType
, ContextType
>
createdAt?
> optional
createdAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>
directChatMessageBelongsTo?
> optional
directChatMessageBelongsTo: Resolver
<ResolversTypes
["DirectChat"
], ParentType
, ContextType
>
messageContent?
> optional
messageContent: Resolver
<ResolversTypes
["String"
], ParentType
, ContextType
>
receiver?
> optional
receiver: Resolver
<ResolversTypes
["User"
], ParentType
, ContextType
>
sender?
> optional
sender: Resolver
<ResolversTypes
["User"
], ParentType
, ContextType
>
updatedAt?
> optional
updatedAt: Resolver
<ResolversTypes
["DateTime"
], ParentType
, ContextType
>