Telegram-user: ignore typing after shutdown
This commit is contained in:
1 parent
af88af01fe
commit
4087f875c5
1 file changed
+1
@@ -676,6 +676,7 @@ export function createTelegramUserMessageHandler(params: TelegramUserHandlerPara
|
||||
},
|
||||
onReplyStart: async () => {
|
||||
await client.sendTyping(typingTarget, "typing", typingParams).catch((err) => {
|
||||
if (isDestroyedClientError(err)) return;
|
||||
runtime.error?.(`telegram-user typing failed: ${String(err)}`);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user