Skip to content

Commit

Permalink
feat: fix telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
nevo-david committed Jan 20, 2025
1 parent e722979 commit 9c648fe
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ export class TelegramProvider extends SocialAbstract implements SocialProvider {
const ids: PostResponse[] = [];
for (const message of postDetails) {
if (
(message?.media?.length || 0) < 3 &&
(message?.media?.length || 0) > 0
(message?.media?.length || 0) === 1
) {
const [{ message_id }] = await telegramBot.sendMediaGroup(
accessToken,
Expand Down

0 comments on commit 9c648fe

Please sign in to comment.