Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 490 Bytes

chatRequest.md

File metadata and controls

26 lines (22 loc) · 490 Bytes

chatRequest

Sending user messages

Call of method

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

For example:

moduleDispatcher('chatRequest',{text:'Hello World!!'})

Typical data

ChatRequestData {   
  text: string   
  context?: RandomContext   
}   

Example of data

data = {   
  text: 'Hello World!!'   
}