Overview
The Send Message module provides a complete set of methods for sending different types of content, managing message interactions, and controlling chat status indicators through WhatsApp. These methods allow you to create rich, interactive messaging experiences for your users.Content Types
Send various types of content to engage your audience with multimedia and interactive elements.Text Messages
Send simple text messages to your contacts.Text messages support markdown formatting for bold, italic, strikethrough, and
code blocks
.Image Messages
Share images with optional captions.Supported image formats include JPG, PNG, and WebP. Maximum file size is 16MB.
Location Messages
Share geographic locations with your contacts.Voice Messages
Send voice or audio recordings.Supported audio formats include MP3, OGG, and OPUS. For voice messages, OPUS format is recommended for best quality and compression.
Video Messages
Share videos with optional captions.Supported video formats include MP4 and 3GP. Maximum file size is 16MB with a maximum duration of 3 minutes.
Polls
Create interactive polls to gather feedback from your contacts.Message Management
Control and interact with messages after they’ve been sent.React to Messages
Add emoji reactions to messages.To remove a reaction, set the reaction parameter to an empty string.
Star Messages
Mark important messages with a star for easy reference.Delete Messages
Remove sent messages from the chat.Messages can only be deleted within a limited time window after sending (typically 1 hour for everyone, or anytime for “delete for me”).
Mark Messages as Seen
Indicate that a message has been read.Chat Status
Control typing indicators to provide a more natural conversation experience.Start Typing Indicator
Show the typing indicator to the recipient.The typing indicator automatically disappears after 25 seconds if not manually stopped.
Stop Typing Indicator
Hide the typing indicator.Common Use Cases
Automated Customer Support
Automated Customer Support
Use text messages for initial responses, rich media for tutorials, and polls for feedback collection.
Order Updates
Order Updates
Send text notifications with order status, location messages for delivery tracking, and image messages for product photos.
Interactive Marketing
Interactive Marketing
Create engaging campaigns with videos, polls for customer preferences, and typing indicators for a more human-like interaction.
Educational Content
Educational Content
Deliver lessons through a combination of text, images, videos, and voice messages, with polls to test understanding.