Send text message
The method is intended for sending a text message to chats
Last updated
The method is intended for sending a text message to chats
Last updated
In this method you will be able to send simple texts, you can add to them by using the formatting of text and emojis.
To send a text message, you need to make a request to:
POST https://gate.whapi.cloud/messages/text
Attributes | Type | Description |
---|---|---|
| string | |
| string | Text to be sent. Emoji ๐ characters are supported. It is required to use UTF-8 encoding without BOM. May include an https link. |
Attributes | Type | Description |
---|---|---|
| string | Message ID of the message to be quoted |
| integer | Time in seconds for the message to be deleted. Requires the "Disappearing Messages" setting in chat to be enabled. |
| string | Message ID of the message to be edited |
| number | Time in seconds to simulate typing |
| boolean | Set "true" if necessary to send the link without preview |
| array of strings | |
| boolean | This message can only be viewed once |
Whatsapp API send message Node JS
Whatsapp API send message Python
Whatsapp API send message Java
If you have any inquiries, or if you'd like to share your experiences, please don't hesitate to get in touch: care@whapi.cloud
Additional endpoint for easy send media-file as message. Use request body as file and inpath parameters for send parameters. Media message can be one of the following types:
You can Send a ppt audio recording to the phone number or group, But WhatsApp is sensitive to this extension, you need to be in OGG format and the codecs should be the opus. Our API has an automatic video and audio converter for the necessary codecs compatible with WhatsApp. For more information, you can check out this article.
Responsible for mentioning members in the group.
Specify numbers to mention here.
Be sure to insert this mention in the Body
text of the message you are sending. It should contain the @ symbol along with the number.
Read more here: