Skip to content

Instantly share code, notes, and snippets.

@Jatin-8898
Created March 23, 2020 10:41
Show Gist options
  • Save Jatin-8898/d6018262f31c76710a39c55660d6d0c5 to your computer and use it in GitHub Desktop.
Save Jatin-8898/d6018262f31c76710a39c55660d6d0c5 to your computer and use it in GitHub Desktop.
from twilio.twiml.messaging_response import MessagingResponse
resp = MessagingResponse()
msg = resp.message()
msg.body('this is the response text')
msg.media('https://example.com/path/image.jpg')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment