Namespace for chat functionality. Users interact with chat participants by sending messages to them in the chat view. Chat participants can respond with markdown or other types of content via the {@link ChatResponseStream}.
Methods
createChatParticipant(id:String, handler:ChatRequestHandler):ChatParticipant
Create a new {@link ChatParticipant chat participant} instance.
Parameters:
id | A unique identifier for the participant. |
---|---|
handler | A request handler for the participant. |
Returns:
A new chat participant