botbuilder-wechat-connector icon indicating copy to clipboard operation
botbuilder-wechat-connector copied to clipboard

Sending multiple responses in a row - they will arrive in a random order

Open anton-bot opened this issue 6 years ago • 0 comments

Let's say I want to send multiple responses to the user:

session.send('test 1');
session.send('test 2');
session.send('test 3');

These messages arrive in a random order, which is not expected.

If I add a small delay between the three messages, e.g. 250ms, then the user only receives one of the three messages, and the other two fail because apparently the token or conversation expires somehow.

anton-bot avatar May 08 '18 09:05 anton-bot