Skip to main content

TwitterMessage

A message sent to or received from Twitter.

type TwitterMessage 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!
twitterId: String
updatedAt: DateTime!
}

Fields

TwitterMessage.attachments ● AttachmentConnection object common

The files attached to the message, if any.

TwitterMessage.attachments.after ● String scalar common

Returns the elements in the list that come after the specified cursor.

TwitterMessage.attachments.before ● String scalar common

Returns the elements in the list that come before the specified cursor.

TwitterMessage.attachments.first ● Int scalar common

Returns the first n elements from the list.

TwitterMessage.attachments.last ● Int scalar common

Returns the last n elements from the list.

TwitterMessage.author ● Author union common

The actor that authored the body.

TwitterMessage.body ● String scalar common

The body of the message in HTML.

TwitterMessage.bodyPlainText ● String scalar common

The body of the message in plain text.

TwitterMessage.cannedReply ● CannedReply object common

The canned reply used for this message.

TwitterMessage.channel ● Channel! non-null interface common

The channel this message belongs to

TwitterMessage.createdAt ● DateTime! non-null scalar common

The date and time that the object was created.

TwitterMessage.editedAt ● DateTime scalar common

The date and time that the object was last updated.

TwitterMessage.fromMerge ● Boolean scalar common

True if the message comes from a merged conversation; false otherwise.

TwitterMessage.fromMove ● Boolean scalar common

True if the message was moved from another conversation; false otherwise.

TwitterMessage.id ● ID! non-null scalar common

TwitterMessage.isNote ● Boolean! non-null scalar common

True if the message is a note; false otherwise.

TwitterMessage.rule ● Rule object common

The rule that caused this message to be created.

TwitterMessage.sourceConversation ● Conversation interface common

The conversation the message was moved from.

TwitterMessage.summary ● SummaryMessage! non-null object common

The summary of the message.

TwitterMessage.twitterId ● String scalar common

The external Twitter ID of the messsage.

TwitterMessage.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