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

The attachment metadata received in the response to SendMessage or MessageEvent (in case of message of type attachment)

Type declaration

  • 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