The attachment metadata received in the message (in case of message is of type attachment).

interface Attachment {
    attachmentId: string;
    attachmentName: string;
    attachmentSize: number;
    attachmentUrl: string;
    contentType: string;
}

Properties

attachmentId: string

The unique 36 character internal id for the attachment.

attachmentName: string

The name of the attachment.

attachmentSize: number

The size of the attachment in bytes.

attachmentUrl: string

The URL to download the attachment.

contentType: string

The content type of the attachment.