feat: telegram fix

This commit is contained in:
Nevo David 2026-03-06 10:37:14 +07:00
parent 9fa6786754
commit 2a194b680e

View file

@ -133,9 +133,7 @@ export class TelegramProvider extends SocialAbstract implements SocialProvider {
? { chatId }
: res.length > 0
? {
lastChatId:
res?.[res.length - 1]?.message?.chat?.id ||
res?.[res.length - 1]?.channel_post?.chat?.id,
lastChatId: res[res.length - 1].update_id + 1,
}
: {};
}