Interface TwilioNodeParameters

Source
interface TwilioNodeParameters {
    from?: string;
    message?: string;
    operation?: "send" | "make";
    options?: { statusCallback?: string };
    resource?: "call" | "sms";
    to?: string;
    toWhatsapp?: boolean;
    twiml?: boolean;
}

Properties§

Source§

readonly from?: string

The number from which to send the message

Source§

readonly message?: string

The message to send

Source§

readonly operation?: "send" | "make"

Default: "send"

Source§

readonly options?: { statusCallback?: string }

Default: {}

Source§

readonly resource?: "call" | "sms"

Default: "sms"

Source§

readonly to?: string

The number to which to send the message

Source§

readonly toWhatsapp?: boolean

Whether the message should be sent to WhatsApp

Source§

readonly twiml?: boolean

Whether to use the Twilio Markup Language in the message