Please excuse our look. We're just getting started here.
Want to learn more about Twilio Forums? Check out our FAQ page here.Send a text message
Hello everyone
Is it possible to insert an icon in a sms text message ?
Thank you
YC
Answers
-
@yvancoyaud these blog posts might be helpful:
- https://www.twilio.com/blog/2014/10/how-to-send-branded-sms-using-twilio-mms.html.
- https://www.twilio.com/blog/text-emojis-non-latin-characters-c-sharp-dot-net-sms
What type of icons are you looking to send?
-
I send text messages containing a code that validates a subscription to a web application.
I would have liked to add a small icon (small png image for example) to characterize the sms.
the web application that sends the sms runs under NodeJs and writes in JavaScript.
Thanks for showing interest in my problem.
YC
-
Hi, YC!
You can send a MMS with Twilio in Node.js as shown here: https://www.twilio.com/blog/how-to-send-an-mms-with-node-js
The image can be hosted with Twilio Assets--more on uploading a static file/image to Twilio Assets here: https://www.twilio.com/blog/assets-plugin-twilio-cli
-
@lsiegle In fact it does not do what I want, the MMS I receive displays the text of the sms and a url on which you have to click to display the image.
What I would like is a small image included in the text.
But since I never receive this kind of sms, maybe it's not possible...
-
@yvancoyaud The image should be received? Can you share some code? In Python
message = client.messages.create( from_="YOUR-TWILIO-NUMBER", to="NUMBER-TO-RECEIVE-IMAGES", body="Test sending two messages", media_url=["https://data.whicdn.com/images/339398954/original.gif", "https://thumbs.gfycat.com/PrestigiousUntidyBetafish-max-1mb.gif"], )
this returns
Categories
- 83 All Categories
- 19 SIGNAL 2021
- 376 Product Discussions
- 7 Community - Announcements
- 2 Changelog
- 4 Forum UI Updates
- 8 Welcome Guide
- 6 Community - Events
- 2 Twilio Relay Developer Conference 2021 Mega Thread
- 1 External Community Events
- 25 Inspiration
- 17 Community - Other Discussions
- 1 Community- Twilio Startups