# Class: ConversationBuilder

## Constructor

#### new ConversationBuilder(messageBuilder)

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `messageBuilder` | AvayaClientServices.Services.Messaging.MessageBuilder |

## Methods

#### build(conversationDetails, conversationService) → {AvayaClientServices.Services.Messaging.Conversation}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `conversationDetails` | AvayaClientServices.Providers.AMM.ConversationV1 | Object |
  `conversationService` | AvayaClientServices.Services.Messaging.ConversationService |

  ##### Returns:

  { AvayaClientServices.Services.Messaging.Conversation }

#### update(conversationToUpdate, updatedConversation, conversationService) → {void}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `conversationToUpdate` | AvayaClientServices.Services.Messaging.Conversation |
  `updatedConversation` | AvayaClientServices.Providers.AMM.ConversationV1 | Object |
  `conversationService` | AvayaClientServices.Services.Messaging.ConversationService |

  ##### Returns:

  { void }

#### updateMessages(conversationToUpdate, updatedConversation, conversationService) → {void}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `conversationToUpdate` | AvayaClientServices.Services.Messaging.Conversation |
  `updatedConversation` | AvayaClientServices.Providers.AMM.ConversationV1 |
  `conversationService` | AvayaClientServices.Services.Messaging.ConversationService |

  ##### Returns:

  { void }