send_whatsapp.py
and paste into it this code.
src
should be a phone number registered to your WhatsApp Business Account.
dst
should be the recipient’s WhatsApp number.
auth_id
and auth_token
environment variables to avoid accidentally committing them to source control. If you do this, you can initialize the client with no arguments and Plivo will automatically fetch the values from the environment variables. You can use process.env
to store environment variables and fetch them when initializing the client.