List conversation message branches

conversationMessageBranches(conversationId: ID!, messageId: ID!): MessageConnection!

Arguments

ArgumentTypeRequiredDescription
conversationIdID!Yes
messageIdID!YesParent message; it must belong to the conversation.

Response

Returns MessageConnection!. Open the type for its fields and nested types.

FieldType
data[Message!]!
pageInfoPageInfo!

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query ConversationMessageBranches($conversationId: ID!, $messageId: ID!) {
  conversationMessageBranches(conversationId: $conversationId, messageId: $messageId) {
    data {
      id
      status
      createdAt
      updatedAt
      conversationId
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
json
{
  "conversationId": "00000000-0000-4000-8000-000000000001",
  "messageId": "00000000-0000-4000-8000-000000000001"
}