Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendMediaGroup reply_parameters not working #2004

Open
mat-twg opened this issue Jul 1, 2024 · 0 comments
Open

sendMediaGroup reply_parameters not working #2004

mat-twg opened this issue Jul 1, 2024 · 0 comments

Comments

@mat-twg
Copy link

mat-twg commented Jul 1, 2024

Judging by this update https://core.telegram.org/bots/api-changelog#december-29-2023 everything should work with reply_parameters, however:
telegram.sendMediaGroup.reply_parameters not working but❗ reply_to_message_id still fine!

this.bot.telegram.sendMediaGroup(
  this.bot.chatId,
  form.files.map((file) => ({
    type: 'document',
    media: {
      source: file.buffer,
      filename: Buffer.from(file.originalname, 'latin1').toString(
        'utf-8',
      ),
    },
  })),
  {
    disable_notification: true,
    reply_to_message_id: message.message_id,
  } as any,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant