updateConversationBranchSelection

Select which branch is the current path of a conversation after the user switches branches, so that later messages continue from the selected message; returns the ID of the selected message.

Arguments

  • conversationIdID!required

  • inputUpdateConversationBranchSelectionInput!required

  • input.messageIdID!required

    Message to select; it must belong to the conversation.

Responses

mutation UpdateConversationBranchSelection($conversationId: ID!, $input: UpdateConversationBranchSelectionInput!) {  updateConversationBranchSelection(conversationId: $conversationId, input: $input) {    messageId  }}
{  "data": {    "updateConversationBranchSelection": {      "messageId": "string"    }  }}

The BranchSelection! in data.updateConversationBranchSelection.