Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 502 Bytes

File metadata and controls

27 lines (23 loc) · 502 Bytes

chatInit

Dialog Initialization

Call of method

moduleDispatcher - method of event management.
moduleDispatcher switches to the selected method chatInit and transmits necessary data to that.

For example:

moduleDispatcher('chatInit',{clientConfig:{env_site_lang: 'ru'}})

Typical data

ChatInitData {  
  clientConfig: RandomContext   
}

Example of data

data = {   
  clientConfig: {   
    env_site_lang: 'ru'   
  }   
}