feat: telegram fix
This commit is contained in:
parent
9fa6786754
commit
2a194b680e
1 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
}
|
||||
: {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue