id: '1', /* id of the user or room with whom to start chat */
name: 'admin', /*name of the user or room with whom to start chat */
state: 'open' /* defines if chat needs to be started in open state or minimised state*/
This function takes a JS object as paramter which should have following properties:
Possible values of parameters :
- state: 'open' , 'minimised'