Interface MoceanNodeParameters

Source
interface MoceanNodeParameters {
    from?: string;
    language?:
        | "en-US"
        | "en-GB"
        | "ja-JP"
        | "cmn-CN"
        | "ko-KR";
    message?: string;
    operation?: "send";
    options?: { dlrUrl?: string };
    resource?: "sms" | "voice";
    to?: string;
}

Properties§

Source§

readonly from?: string

Number to which to send the message

Source§

readonly language?: "en-US" | "en-GB" | "ja-JP" | "cmn-CN" | "ko-KR"

Default: "en-US"

Source§

readonly message?: string

Message to send

Source§

readonly operation?: "send"

Default: "send"

Source§

readonly options?: { dlrUrl?: string }

Default: {}

Source§

readonly resource?: "sms" | "voice"

Default: "sms"

Source§

readonly to?: string

Number from which to send the message