When there are more than one bot in a chat, the first one to receive the message acts on it, ant the others do not receive anything, as if the message get deleted as soon one bot receives it.
This is my bot initialization code.
bot.setToken(myToken);
bot.skipUpdates();
bot.setPollMode(fb::Poll::Long, 20000);
bot.onUpdate(handleBot);
When there is only one bot listening in the chat, the message prints whatever I type, instantly.
When there are more, it's a hit and miss, as only one gets the update.
void handleBot(fb::Update& u) {
Serial.println(u.message().text());
if (u.isMessage()) handleMessage(u);
}
Is there a setting somewhere, to NOT erase a message after it is received?