SummaryMessage
An individual message with the body truncated.
Sample usage:
query Conversations {
conversations {
nodes {
id
number
summaryMessage {
id
bodyPlainText
isNote
}
}
}
}
type SummaryMessage implements Message {
attachments(
after: String
before: String
first: Int
last: Int
): AttachmentConnection
author: Author
body: String
bodyPlainText: String
cannedReply: CannedReply
channel: Channel!
createdAt: DateTime!
editedAt: DateTime
fromMerge: Boolean
fromMove: Boolean
id: ID!
isNote: Boolean!
rule: Rule
sourceConversation: Conversation
summary: SummaryMessage!
truncated: Boolean
updatedAt: DateTime!
}
Fields
SummaryMessage.attachments ● AttachmentConnection object common
The files attached to the message, if any.
SummaryMessage.attachments.after●Stringscalar commonReturns the elements in the list that come after the specified cursor.
SummaryMessage.attachments.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
SummaryMessage.attachments.first ● Int scalar common
Returns the first n elements from the list.
SummaryMessage.attachments.last ● Int scalar common
Returns the last n elements from the list.
SummaryMessage.author ● Author union common
The actor that authored the body.
SummaryMessage.body ● String scalar common
The body of the message in HTML.
SummaryMessage.bodyPlainText ● String scalar common
The body of the message in plain text.
SummaryMessage.cannedReply ● CannedReply object common
The canned reply used for this message.
SummaryMessage.channel ● Channel! non-null interface common
The channel this message belongs to
SummaryMessage.createdAt ● DateTime! non-null scalar common
The date and time that the object was created.
SummaryMessage.editedAt ● DateTime scalar common
The date and time that the object was last updated.
SummaryMessage.fromMerge ● Boolean scalar common
True if the message comes from a merged conversation; false otherwise.
SummaryMessage.fromMove ● Boolean scalar common
True if the message was moved from another conversation; false otherwise.
SummaryMessage.id ● ID! non-null scalar common
SummaryMessage.isNote ● Boolean! non-null scalar common
True if the message is a note; false otherwise.
SummaryMessage.rule ● Rule object common
The rule that caused this message to be created.
SummaryMessage.sourceConversation ● Conversation interface common
The conversation the message was moved from.
SummaryMessage.summary ● SummaryMessage! non-null object common
The summary of the message.
SummaryMessage.truncated ● Boolean scalar common
True if the message was truncated; false otherwise.
SummaryMessage.updatedAt ● DateTime! non-null scalar common
The date and time that the object was last updated.
Interfaces
Message interface common
An individual message, for example an incoming email, an email reply, or a note.
Member of
Conversation interface ● EmailConversation object ● EmailMessage object ● EventGroupType object ● FacebookConversation object ● FacebookMessage object ● ForwardedMessage object ● Message interface ● Note object ● Reply object ● SummaryMessage object ● TwitterConversation object ● TwitterMessage object ● WidgetConversation object ● WidgetMessage object