@getdial/sdk - v0.21.0
    Preparing search index...

    Interface MessageMediaItem

    A media attachment on a message, hosted by Dial.

    interface MessageMediaItem {
        contentType: string;
        id: string;
        originalUrl: string | null;
        url: string;
    }
    Index
    contentType: string
    id: string

    Public media ID — an unguessable token.

    originalUrl: string | null

    Caller-supplied source URL on outbound sends; null on inbound messages and direct uploads.

    url: string

    Stable unauthenticated URL serving the media (safe as an src).