Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions en/message/delete-message.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

Method used to delete a message from a chat. You can delete both a message you sent and a message sent by a contact. To use this feature you only need the messageId of the message you want to delete.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/delete-message-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/forward-message.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Simple and straightforward, with this method you can forward messages through th
To use this method you need to configure the webhook. If you haven't configured it yet, the message will not be forwarded.
</Warning>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/forward-message-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/reply-button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ This endpoint allows you to reply to a button list option, simulating a user cli
The button must have been previously sent and the **button ID** must be obtained via the message received webhook.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/reply-button-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/reply-message.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

In this topic we'll talk about how to reply to a message directly! When you use the send-text method there is an optional attribute called messageId, this attribute receives the Id of any message. When this attribute is provided, your message will be directly related to the message of the informed Id.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/reply-message-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/reply-template-button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ Only buttons of type **REPLY** can be answered. Other button types do not suppor
The button must have been previously sent and the **button ID** must be obtained via the message received webhook.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/reply-template-button-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
7 changes: 7 additions & 0 deletions en/message/send-button-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ Sending all three button types simultaneously causes an error on WhatsApp Web. C

---

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-button-actions-eng.jpeg" width="400" />
</div>

---

## Attributes

### Header
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-button-list-image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Button sending is currently available, but there are some decisive factors for i
The **message** attribute cannot be sent empty!
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-button-list-image-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-button-list-video.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Button sending is currently available, but there are some decisive factors for i
The **message** attribute cannot be sent empty!
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images//send-button-list-video-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-button-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Button sending is currently available, but there are some decisive factors for i
The **message** attribute cannot be sent empty!
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-button-list-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-button-otp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send text messages with a button to copy a value.
Button sending is currently available, but there are some decisive factors for it to work. For more details check the [Button Status](/en/tips/button-status) topic.
</Warning>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-button-otp-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-button-pix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Button sending is currently available, but there are some decisive factors for i
PIX messages received on WhatsApp Web don't change the chat state — they don't mark as unread or move to the top of the list. Messages render normally. This is a WhatsApp Web bug.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-button-pix-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-carousel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

With this method you can send carousel messages with images, text and action buttons. From the action buttons, you can redirect to links, make calls, and also provide standard responses.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-carousel-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-edit-event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send event edit messages.
To edit the event, you must resend all data that is already configured in the event, even if they have no changes.
</Warning>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-edit-event-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-event-response.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send response messages to an event.
You cannot respond to an event you created yourself. Your response will always be marked as "confirmed presence".
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-event-response-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send Event type messages.
This message type can only be sent to a **group**.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-event-eng.jpg" width="400" />
</div>

---

## Attributes
Expand Down
6 changes: 6 additions & 0 deletions en/message/send-message-audio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Method responsible for sending audios to your chats. You can work with audios in

---

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-audio-eng.jpeg" width="300" />
<img src="/images/send-message-audio-wave-eng.jpeg" width="300" />
</div>

## Attributes

### Header
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

With this method you can send messages with a link to your catalog. The catalog feature is only available for WhatsApp **business** accounts that have registered products.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-catalog-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-contact.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

With this method you can share contact information without the recipient needing to have the contact saved. Just fill in the method attributes with the contact details and send.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-contact-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-document.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Method responsible for sending documents to your contacts, it is simple and stra
- **By Link**: if you have the document hosted somewhere on the internet, just send the link;
- **By Base64**: if you want to send the document in Base64 format.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-document-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ Tools to convert images to Base64:
- [base64.guru](https://base64.guru/converter/encode/image)
</Tip>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-image-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Method responsible for sending a link to your contacts, widely used to share lin
It's important to know that the link only becomes clickable if the recipient already has your phone number saved in their contacts, or if they have initiated a conversation with you.
</Warning>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-link-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-location.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

Method responsible for sending a fixed location to your contacts.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-location-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-multiple-contacts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

Simple and straightforward, this method allows you to send multiple contacts. You don't need to have them in your contacts, just fill in the method attributes with the contact information and send.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-multiple-contacts-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-order.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send order messages, containing products from your cata
Available only for WhatsApp **business** accounts. Products without `productId` are treated as custom items.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-order-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-product.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send messages of your products. The products feature is
The account must have registered products. Product operations are documented in the [WhatsApp Business](/en/business/get-products) section.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-product-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-ptv.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Method responsible for sending PTV (Pre-Recorded Transfer Video) to your chats.
- **By Link**: if you have the video hosted somewhere on the internet, just send the link;
- **By Base64**: if you want to send the video in Base64 format.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-ptv-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-reaction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ With this method you can send an emoji reaction to a message.

---

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-reaction-eng.jpeg" width="400" />
</div>

## Attributes

### Header
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-sticker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ If you choose Base64, before the binary you need to add the following expression
You can verify if the Base64 is correct by pasting it into your browser's address bar.
</Tip>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-sticker-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-message-video.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Method responsible for sending videos to your chats. You can work with videos in

---

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-message-video-eng.jpeg" width="400" />
</div>

## Attributes

### Header
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-newsletter-admin-invite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import Token from '/snippets/en/params/token.mdx'

With this method you can send messages inviting people to become administrators of your WhatsApp channels.

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-newsletter-admin-invite-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-option-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send text messages with an option list, where the user
The option list feature no longer works in groups.
</Warning>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-option-list-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-order-payment-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send order payment update messages.
This method is only available for WhatsApp **Business** accounts.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-order-payment-update-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
5 changes: 5 additions & 0 deletions en/message/send-order-status-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ With this method you can send order status update messages.
This method is only available for WhatsApp **Business** accounts. All original order data must be resent with the additional mandatory parameters returned via webhook.
</Info>

#### Example on WhatsApp
<div style={{ display: "flex", justifyContent: "center" }}>
<img src="/images/send-order-status-update-eng.jpeg" width="400" />
</div>

---

## Attributes
Expand Down
Loading