Skip to main content

EventGroupType

A group of events associated with a conversation.

query EventGroups {
eventGroups(filter: "cnv_12345678") {
edges {
node {
id
collapsed
fromMerge
isNote
isForward
isCollaborator
hasAttachments
conversationId
actor {
__typename
... on Contact {
name
}
... on Agent {
name
email
}
}
summary {
body
}
events {
nodes {
id
change {
__typename
... on Message {
body
}

}
}
}
}
}
}
}
type EventGroupType {
actor: Actor
changesetId: String!
collapsed: Boolean!
conversationId: String!
events(
after: String
before: String
first: Int
last: Int
): EventConnection!
fromMerge: Boolean!
hasAttachments: Boolean!
hasRawEmail: Boolean!
id: ID!
isCollaborator: Boolean!
isForward: Boolean!
isNote: Boolean!
lastEventId: String
parsingCompleted: Boolean!
rawEmailId: String
summary: SummaryMessage
}

Fields

EventGroupType.actor ● Actor union common

The person or thing that triggered the action.

EventGroupType.changesetId ● String! non-null scalar common

A unique identifier for this event group, used for deep linking and message sharing.

EventGroupType.collapsed ● Boolean! non-null scalar common

True if the event group is collapsed; false otherwise.

EventGroupType.conversationId ● String! non-null scalar common

The id of a ticket that that this group belongs to.

EventGroupType.events ● EventConnection! non-null object common

The list of events in the event group; no events if collapsed.

EventGroupType.events.after ● String scalar common

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

EventGroupType.events.before ● String scalar common

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

EventGroupType.events.first ● Int scalar common

Returns the first n elements from the list.

EventGroupType.events.last ● Int scalar common

Returns the last n elements from the list.

EventGroupType.fromMerge ● Boolean! non-null scalar common

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

EventGroupType.hasAttachments ● Boolean! non-null scalar common

True if the event group contains attachments; false otherwise.

EventGroupType.hasRawEmail ● Boolean! non-null scalar common

True if the event group is linked to a raw email; false otherwise.

EventGroupType.id ● ID! non-null scalar common

EventGroupType.isCollaborator ● Boolean! non-null scalar common

True if the event group was created by a collaborator; false otherwise.

EventGroupType.isForward ● Boolean! non-null scalar common

True if the event group is a forward; false otherwise.

EventGroupType.isNote ● Boolean! non-null scalar common

True if the event group is a note; false otherwise.

EventGroupType.lastEventId ● String scalar common

The id of the last event in this group.

EventGroupType.parsingCompleted ● Boolean! non-null scalar common

True if the event groups is linked to a raw email and the parsing is completed; false otherwise.

EventGroupType.rawEmailId ● String scalar common

The id of raw email that that this group belongs to.

EventGroupType.summary ● SummaryMessage object common

A summary of the message in the event group.

Member of

conversationAddNotePayload object ● ConversationAssignPayload object ● ConversationChangeChannelPayload object ● ConversationChangeContactPayload object ● ConversationClosePayload object ● ConversationCreateEmailPayload object ● conversationDeleteNotePayload object ● conversationEditNotePayload object ● ConversationFollowPayload object ● ConversationForwardPayload object ● ConversationForwardV2Payload object ● conversationLinkResourcePayload object ● ConversationLogPayload object ● ConversationOpenPayload object ● ConversationReplyPayload object ● ConversationSnoozePayload object ● ConversationSpamPayload object ● ConversationStarPayload object ● ConversationSubjectPayload object ● ConversationTagPayload object ● conversationToggleNoteReactionPayload object ● ConversationTrashPayload object ● ConversationUnassignPayload object ● ConversationUnfollowPayload object ● ConversationUnreadPayload object ● ConversationUnstarPayload object ● ConversationUntagPayload object ● EventGroupTypeConnection object ● EventGroupTypeEdge object