WidgetMessage
A message received from a contact using the Widget.
type WidgetMessage implements Message, Node {
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!
updatedAt: DateTime!
}
Fields
WidgetMessage.attachments ● AttachmentConnection object common
The files attached to the message, if any.
WidgetMessage.attachments.after●Stringscalar commonReturns the elements in the list that come after the specified cursor.
WidgetMessage.attachments.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
WidgetMessage.attachments.first ● Int scalar common
Returns the first n elements from the list.
WidgetMessage.attachments.last ● Int scalar common
Returns the last n elements from the list.
WidgetMessage.author ● Author union common
The actor that authored the body.
WidgetMessage.body ● String scalar common
The body of the message in HTML.
WidgetMessage.bodyPlainText ● String scalar common
The body of the message in plain text.
WidgetMessage.cannedReply ● CannedReply object common
The canned reply used for this message.
WidgetMessage.channel ● Channel! non-null interface common
The channel this message belongs to
WidgetMessage.createdAt ● DateTime! non-null scalar common
The date and time that the object was created.
WidgetMessage.editedAt ● DateTime scalar common
The date and time that the object was last updated.
WidgetMessage.fromMerge ● Boolean scalar common
True if the message comes from a merged conversation; false otherwise.
WidgetMessage.fromMove ● Boolean scalar common
True if the message was moved from another conversation; false otherwise.
WidgetMessage.id ● ID! non-null scalar common
WidgetMessage.isNote ● Boolean! non-null scalar common
True if the message is a note; false otherwise.
WidgetMessage.rule ● Rule object common
The rule that caused this message to be created.
WidgetMessage.sourceConversation ● Conversation interface common
The conversation the message was moved from.
WidgetMessage.summary ● SummaryMessage! non-null object common
The summary of the message.
WidgetMessage.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.
Node interface common
An object with an ID.
Implemented by
ChangeTypeUnion union