代码示例:
curl -X POST "https://api.twilio.com/2020-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages"
--data-urlencode "To=whatsapp:+14155238886"
--data-urlencode "From=whatsapp:+15005550006"
--data-urlencode "Body=Test message with image"
--form "Media=@/path/to/image.jpg"
-u ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token