ChatMessage
A context representing a chat message. Typically used to send the message or to pre-populate a message for sending.
Type
fdc3.chat.message
Schema
https://fdc3.finos.org/schemas/2.1/context/chatMessage.schema.json
Details
| Property | Type | Required | Example Value | 
|---|---|---|---|
| type | string | Yes | 'fdc3.chat.message' | 
| chatRoom | ChatRoom | Yes | { type: 'fdc3.chat.room', providerName: 'Symphony', id:{ streamId: 'j75xqXy25NBOdacUI3FNBH'} } | 
| message | Message | Yes | 'A message to send' | 
Example
const chatMessage = {
    type: "fdc3.chat.message",
    chatRoom: {
        type: 'fdc3.chat.room',
        providerName: "Symphony",
        id: {
            streamId: "j75xqXy25NBOdacUI3FNBH"
        }
    },
    message: "A message to send"
}
See Also
Intents
FINOS Financial Objects