Skip to main content

ChatMessage

No description

type ChatMessage {
body: String
chat: Chat
createdAt: DateTime
creator: User
id: ID!
parentMessage: ChatMessage
updatedAt: DateTime
}

Fields​

ChatMessage.body ● String scalar​

Body of the chat message.

ChatMessage.chat ● Chat object​

Chat which the chat message belongs to.

ChatMessage.createdAt ● DateTime scalar​

Date time at the time the chat message was created.

ChatMessage.creator ● User object​

User who created the chat message.

ChatMessage.id ● ID! non-null scalar​

Global identifier of the chat message.

ChatMessage.parentMessage ● ChatMessage object​

Parent message of the chat message.

ChatMessage.updatedAt ● DateTime scalar​

Date time at the time the chat message was last updated.

Returned By​

chatMessage query ● chatMessageCreate subscription ● createChatMessage mutation ● deleteChatMessage mutation ● updateChatMessage mutation

Member Of​

Chat object ● ChatMessage object ● ChatMessagesConnectionEdge object