Forum Discussion

markebot7's avatar
markebot7
Mentor
5 years ago

Messages order (WhatsApp)

Hi there,

As you remember, we are working on our chatbot that is connected to user channels. Some of messages have a bit of a complex structure, and we need to split them up in order to send them in proper order. Consider, we have a single message that has the following content structure: <text><image><text>. In order to send this message to a WhatsApp user, we need to split the content into three messages (#1 <text>; #2 <image>; #3 <text>). If we send these messages one-by-one, in WhatsApp client we might receive these messages as in the order <text><text><image>, because posting images takes longer than posting text messages. We have a workaround (adding delay between requests) but images could be big in size, so it takes very long to send them. We could constantly increase delay, but it's not a good way to do such things.

So, my question is the following:

Is it possible to make a request to check the message status, whether it has been delivered to WhatsApp servers or not? Actually, it doesn not matter, whether the message were delivered to the end user, because users might be offline. We just need to know if the messages have been delivered to the WhatApp server in the proper order.

#

No RepliesBe the first to reply