Update conversation branch selection

updateConversationBranchSelection(conversationId: ID!, input: UpdateConversationBranchSelectionInput!): BranchSelection!

Arguments

ArgumentTypeRequired
conversationIdID!Yes
inputUpdateConversationBranchSelectionInput!Yes

Input fields

input

UpdateConversationBranchSelectionInput

FieldTypeRequiredDescription
messageIdID!YesMessage to select; it must belong to the conversation.

Response

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

FieldTypeDescription
messageIdIDSelected message, or null when the conversation has no messages.

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

Example

graphql
mutation UpdateConversationBranchSelection($conversationId: ID!, $input: UpdateConversationBranchSelectionInput!) {
  updateConversationBranchSelection(conversationId: $conversationId, input: $input) {
    messageId
  }
}
json
{
  "conversationId": "00000000-0000-4000-8000-000000000001",
  "input": {
    "messageId": "00000000-0000-4000-8000-000000000001"
  }
}