Interface VonageNodeParameters

Source
interface VonageNodeParameters {
    additionalFields?: {
        "account-ref"?: string;
        callback?: string;
        "client-ref"?: string;
        "message-class"?: 0 | 1 | 3 | 2;
        "protocol-id"?: string;
        "status-report-req"?: boolean;
        ttl?: number;
    };
    from?: string;
    message?: string;
    operation?: "send";
    resource?: "sms";
    to?: string;
}

Properties§

Source§

readonly additionalFields?: {
    "account-ref"?: string;
    callback?: string;
    "client-ref"?: string;
    "message-class"?: 0 | 1 | 3 | 2;
    "protocol-id"?: string;
    "status-report-req"?: boolean;
    ttl?: number;
}

Default: {}

Source§

readonly from?: string

The name or number the message should be sent from

Source§

readonly message?: string

The body of the message being sent

Source§

readonly operation?: "send"

Default: "send"

Source§

readonly resource?: "sms"

Default: "sms"

Source§

readonly to?: string

The number that the message should be sent to. Numbers are specified in E.164 format.