Skip to main content

Chat_Message

No description

type Chat_Message {
videoCallRoom: Chat_VideoCallRoom
channel: Chat_Channel!
channelId: Chat_UUID!
channelUser: Chat_ChannelUser
channelUserId: Chat_ObjectID
content: String
createdAt: Chat_DateTime!
deleted: Boolean!
attachments: [Chat_MessageAttachmentUnion!]!
files: [Chat_MessageFile!]!
id: ID!
links: [Chat_MessageLink!]!
score: Int!
ownVote: Chat_VoteState!
reactions: [Chat_MessageReaction!]!
mentions: [Chat_MessageMention!]!
parent: Chat_Message
parentId: Chat_ObjectID
seenBy(
pagination: Chat_OffsetPaginationInput! = [object Object]
): [Chat_ChannelUser!]!
seenByCount: Int!
textContent: String @deprecated
type: String!
updatedAt: Chat_DateTime!
user: Chat_User
userId: String
children(
pagination: Chat_CursorPaginationInput! = [object Object]
sort: Chat_MessageSortInput
): [Chat_Message!]!
childrenCount: Int!
}

Fields

Chat_Message.videoCallRoom ● Chat_VideoCallRoom object

Chat_Message.channel ● Chat_Channel! non-null object

Chat_Message.channelId ● Chat_UUID! non-null scalar

Chat_Message.channelUser ● Chat_ChannelUser object

Chat_Message.channelUserId ● Chat_ObjectID scalar

Chat_Message.content ● String scalar

The message text content

Chat_Message.createdAt ● Chat_DateTime! non-null scalar

Chat_Message.deleted ● Boolean! non-null scalar

Chat_Message.attachments ● [Chat_MessageAttachmentUnion!]! non-null union

Chat_Message.files ● [Chat_MessageFile!]! non-null object

Chat_Message.id ● ID! non-null scalar

Chat_Message.score ● Int! non-null scalar

Chat_Message.ownVote ● Chat_VoteState! non-null enum

Chat_Message.reactions ● [Chat_MessageReaction!]! non-null object

Chat_Message.mentions ● [Chat_MessageMention!]! non-null object

Chat_Message.parent ● Chat_Message object

If this is not null it means the message is part of a thread

Chat_Message.parentId ● Chat_ObjectID scalar

If this is not null it means the message is part of a thread

Chat_Message.seenBy ● [Chat_ChannelUser!]! non-null object

A list of users who have seen the message

Chat_Message.seenBy.pagination ● Chat_OffsetPaginationInput! non-null input

Chat_Message.seenByCount ● Int! non-null scalar

Count of users who have seen the message

Chat_Message.textContent ● String deprecated scalar

DEPRECATED

use content

The message text content

Chat_Message.type ● String! non-null scalar

The message type

Chat_Message.updatedAt ● Chat_DateTime! non-null scalar

Last update date

Chat_Message.user ● Chat_User object

Chat_Message.userId ● String scalar

Chat_Message.children ● [Chat_Message!]! non-null object

Get the replied messages. Filled when someone reply to a message

Chat_Message.children.pagination ● Chat_CursorPaginationInput! non-null input
Chat_Message.children.sort ● Chat_MessageSortInput input

Chat_Message.childrenCount ● Int! non-null scalar

Get number of replies

Member Of

Chat_Channel object ● Chat_ChannelUser object ● Chat_Message object