Message: {
    attachments?: Attachment[];
    body: MessageBody;
    conversationId: string;
    lastUpdatedAt: Date;
    messageId: string;
    parentMessageId?: string;
    receivedAt: Date;
    senderParticipant: Participant;
}

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

Type declaration

  • Optionalattachments?: Attachment[]

    Attachments contained in the message.

  • body: MessageBody

    Body of the message

  • conversationId: string

    The unique 36 character internal id for the conversation that this message belongs to.

  • 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.

  • OptionalparentMessageId?: string

    The unique 36 character internal id for the message that is the parent of this message

  • receivedAt: Date

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

  • senderParticipant: Participant

    The participant who sent the message