Sending 'typing' every four seconds while a turn runs was in the code and never on the screen: the API base became overridable and the URL format lost the token on the way, so the gateway could not poll at all. Fixed, and proven against a fake Telegram API with a slow provider behind it: get /bot.../getUpdates typing 00s, 04s, 08s, 12s (one per four seconds, whole turn) message <answer> (typing stops with the turn) SPLINTER_TELEGRAM_API now overrides the API base, because a gateway you can only test in production is a gateway you test in production.
123 KiB
Executable File
123 KiB
Executable File