Skip to main content

DirectChatMessage

No description

type DirectChatMessage {
_id: ID!
directChatMessageBelongsTo: DirectChat!
sender: User!
receiver: User!
createdAt: DateTime!
messageContent: String!
}

Fields

DirectChatMessage._id ● ID! non-null scalar

DirectChatMessage.directChatMessageBelongsTo ● DirectChat! non-null object

DirectChatMessage.sender ● User! non-null object

DirectChatMessage.receiver ● User! non-null object

DirectChatMessage.createdAt ● DateTime! non-null scalar

DirectChatMessage.messageContent ● String! non-null scalar

Returned by

directChatsMessagesByChatID query ● messageSentToDirectChat subscription ● sendMessageToDirectChat mutation

Member of

DirectChat object