Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface MediaResponse

    interface MediaResponse {
        body?: MediaBody;
        callback_url?: string;
        canceled?: boolean;
        client_reference?: string;
        created_at?: Date;
        delivery_report?: string;
        expire_at?: Date;
        feedback_enabled?: boolean;
        from?: string;
        id?: string;
        modified_at?: Date;
        parameters?: ParameterGroup;
        send_at?: Date;
        strict_validation?: boolean;
        to?: string[];
        type?: "mt_media";
    }
    Index

    Properties

    body?: MediaBody

    MediaBody

    callback_url?: string

    Override the default callback URL for this batch. Must be valid URL.

    canceled?: boolean

    Indicates if the batch has been canceled or not.

    client_reference?: string

    The client identifier of a batch message. If set, the identifier will be added in the delivery report/callback of this batch

    created_at?: Date

    Timestamp for when batch was created. Formatted as ISO-8601:YYYY-MM-DDThh:mm:ss.SSSZ.

    delivery_report?: string

    Request delivery report callback. Note that delivery reports can be fetched from the API regardless of this setting.

    expire_at?: Date

    If set the system will stop trying to deliver the message at this point. Must be after send_at. Default and max is 3 days after send_at. Formatted as ISO-8601:YYYY-MM-DDThh:mm:ss.SSSZ.

    feedback_enabled?: boolean

    If set to true then feedback is expected after successful delivery.

    from?: string

    Sender number. Required if Automatic Default Originator not configured.

    id?: string

    Unique identifier for batch

    modified_at?: Date

    Timestamp for when batch was last updated. Formatted as ISO-8601:YYYY-MM-DDThh:mm:ss.SSSZ.

    parameters?: ParameterGroup

    ParameterGroup

    send_at?: Date

    If set in the future the message will be delayed until send_at occurs. Must be before expire_at. If set in the past messages will be sent immediately. Formatted as ISO-8601:YYYY-MM-DDThh:mm:ss.SSSZ.

    strict_validation?: boolean

    Whether or not you want the media included in your message to be checked against Sinch MMS channel best practices. If set to true, your message will be rejected if it doesn't conform to the listed recommendations, otherwise no validation will be performed.

    to?: string[]

    List of Phone numbers and group IDs that will receive the batch. More info

    type?: "mt_media"

    Media message