You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -179,7 +181,7 @@ export default class TelegramExecutionContext {
179
181
video,
180
182
});
181
183
}
182
-
throwe;
184
+
if(einstanceofError&&e.message==='PEER_ID_INVALID'){console.error('Peer invalid, cannot deliver message even without business connection');returnnull;}throwe;
183
185
}
184
186
case'guest_message':
185
187
returnawaitthis.answerGuestQueryVideo(video);
@@ -246,7 +248,7 @@ export default class TelegramExecutionContext {
246
248
caption,
247
249
});
248
250
}
249
-
throwe;
251
+
if(einstanceofError&&e.message==='PEER_ID_INVALID'){console.error('Peer invalid, cannot deliver message even without business connection');returnnull;}throwe;
@@ -302,7 +304,7 @@ export default class TelegramExecutionContext {
302
304
caption,
303
305
});
304
306
}
305
-
throwe;
307
+
if(einstanceofError&&e.message==='PEER_ID_INVALID'){console.error('Peer invalid, cannot deliver message even without business connection');returnnull;}throwe;
@@ -344,7 +346,7 @@ export default class TelegramExecutionContext {
344
346
action: 'typing',
345
347
});
346
348
}
347
-
throwe;
349
+
if(einstanceofError&&e.message==='PEER_ID_INVALID'){console.error('Peer invalid, cannot deliver message even without business connection');returnnull;}throwe;
348
350
}
349
351
default:
350
352
returnnull;
@@ -465,7 +467,7 @@ export default class TelegramExecutionContext {
465
467
...options,
466
468
});
467
469
}
468
-
throwe;
470
+
if(einstanceofError&&e.message==='PEER_ID_INVALID'){console.error('Peer invalid, cannot deliver message even without business connection');returnnull;}throwe;
469
471
}
470
472
}
471
473
@@ -498,7 +500,7 @@ export default class TelegramExecutionContext {
498
500
parse_mode,
499
501
});
500
502
}else{
501
-
throwe;
503
+
if(einstanceofError&&e.message==='PEER_ID_INVALID'){console.error('Peer invalid, cannot deliver message even without business connection');returnnull;}throwe;
0 commit comments