Skip_update feature. Old messages. Easy and legal Stop Bot process.
DmitrTRC opened this issue · comments
Dev Spain commented
I have some problems with old messages. When I try to stop Bot this way:
On /stop command
bool is_active = false; // Set flag false stops Bot operation and exit loop while (is_active){ std::cout << "Long poll started" << std::endl; longPoll.start ();
When the next Bot start, all old messages ( and /STOP command! ) are received, and the Bot exits again.
How do I fix it?
Dev Spain commented
So good!