Skip to main content

ChatMessageResolvers

talawa-api


talawa-api / types/generatedGraphQLTypes / ChatMessageResolvers

Type Alias: ChatMessageResolvers<ContextType, ParentType>

> ChatMessageResolvers<ContextType, ParentType>: object

Type Parameters

ContextType = any

ParentType extends ResolversParentTypes["ChatMessage"] = ResolversParentTypes["ChatMessage"]

Type declaration

__isTypeOf?

> optional __isTypeOf: IsTypeOfResolverFn<ParentType, ContextType>

_id?

> optional _id: Resolver<ResolversTypes["ID"], ParentType, ContextType>

chatMessageBelongsTo?

> optional chatMessageBelongsTo: Resolver<ResolversTypes["Chat"], ParentType, ContextType>

createdAt?

> optional createdAt: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>

deletedBy?

> optional deletedBy: Resolver<Maybe<Maybe<ResolversTypes["User"]>[]>, ParentType, ContextType>

messageContent?

> optional messageContent: Resolver<ResolversTypes["String"], ParentType, ContextType>

replyTo?

> optional replyTo: Resolver<Maybe<ResolversTypes["ChatMessage"]>, ParentType, ContextType>

sender?

> optional sender: Resolver<ResolversTypes["User"], ParentType, ContextType>

updatedAt?

> optional updatedAt: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>

Defined in

src/types/generatedGraphQLTypes.ts:4057