Skip to main content

ChatMessage

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / ChatMessage

Type Alias: ChatMessage

> ChatMessage: object

Type declaration

__typename?

> optional __typename: "ChatMessage"

_id

> _id: Scalars["ID"]["output"]

chatMessageBelongsTo

> chatMessageBelongsTo: Chat

createdAt

> createdAt: Scalars["DateTime"]["output"]

deletedBy?

> optional deletedBy: Maybe<Maybe<User>[]>

messageContent

> messageContent: Scalars["String"]["output"]

replyTo?

> optional replyTo: Maybe<ChatMessage>

sender

> sender: User

updatedAt

> updatedAt: Scalars["DateTime"]["output"]

Defined in

src/types/generatedGraphQLTypes.ts:290