interface TwilioWhatsappData {
    attachment?: AttachmentOptions;
    content_type?: string;
    from: string;
    message: string;
    to: string;
    twilio_sid: string;
    twilio_token: string;
}

Properties

attachment?: AttachmentOptions

File attachment for the whatsapp (optional)

See

AttachmentOptions

content_type?: string

Content/Type of the request when sending a file, must be the same content type of the file

from: string

From number registered with Twilio, Example: +5599999999999

message: string

Message to be send

to: string

Number to send Whatsapp message, Example: +5599999999999

twilio_sid: string

Twilio account SID

twilio_token: string

Twilio auth token