Welcome

Method: livechat:getInitialData

DDP message

{"msg":"method","method":"livechat:getInitialData","params":["7T4jzes7rX3Fr6cQ2"],"id":"1"}"

Response

{
    enabled: true,
    title: 'pimentaCHAT',
    color: '#C1272D',
    registrationForm: true,
    room: null,
    visitor: undefined,
    triggers: [],
    departments: [],
    allowSwitchingDepartments: true,
    online: true,
    offlineColor: '#666666',
    offlineMessage: 'We are not online right now. Please leave us a message:',
    offlineSuccessMessage: '',
    offlineUnavailableMessage: '',
    displayOfflineForm: true,
    videoCall: false,
    offlineTitle: 'Leave a message',
    language: '',
    transcript: false,
    transcriptMessage: 'Would you like a copy of this chat emailed?',
    agentData: undefined,
    conversationFinishedMessage: 'Conversation finished',
    nameFieldRegistrationForm: true,
    emailFieldRegistrationForm: true
}