Message: {
    body: MessageBody;
    dialogId: string;
    engagementId: string;
    lastUpdatedAt: Date;
    messageId: string;
    messageIndex: number;
    parentMessageId?: string;
    receivedAt: Date;
    senderParticipant: Participant;
}

Message that belongs to an engagement that is sent by any of the participants.

Type declaration

  • body: MessageBody

    Body of the message

  • dialogId: string

    The unique 36 character internal id that represents the dialog.

  • engagementId: string

    The unique 36 character internal id that represents the engagement.

  • lastUpdatedAt: Date

    The date-time when the message was updated by the Contact Center

  • messageId: string

    The unique 36 character internal id for this specific message.

  • messageIndex: number

    The index of the message within the context of the dialog

  • Optional parentMessageId?: string

    The unique 36 character messageId of the older message, for which this message is a reply.

  • receivedAt: Date

    The date-time when the message was received by the Contact Center

  • senderParticipant: Participant

    The participant who sent the message