# Class: ChatMessage

## Constructor

#### new ChatMessage(messageContent, sender, recipient, isPrivate)

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `messageContent` | string |
  `sender` | AvayaClientServices.Services.Conference.Participant |
  `recipient` | AvayaClientServices.Services.Conference.Participant |
  `isPrivate` | boolean |

## Members

#### status :AvayaClientServices.Services.Conference.ChatMessageStatus

  Message state

  ##### Type:

  - AvayaClientServices.Services.Conference.ChatMessageStatus

## Methods

#### getId() → {string}

  ##### Returns:

  { string }

  Message id

#### getMessageContent() → {string}

  ##### Returns:

  { string }

  Message Content

#### getRecipient() → {AvayaClientServices.Services.Conference.Participant}

  ##### Returns:

  { AvayaClientServices.Services.Conference.Participant }

  Message author

#### getSender() → {AvayaClientServices.Services.Conference.Participant}

  ##### Returns:

  { AvayaClientServices.Services.Conference.Participant }

  Sender

#### getTime() → {date}

  ##### Returns:

  { date }

  Type of the message

#### isPrivate() → {boolean}

  ##### Returns:

  { boolean }

  Type of the message

#### setStatus(status)

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `status` | AvayaClientServices.Services.Conference.ChatMessageStatus |