grammyjs / auto-retry

A transformer function for retrying requests.
https://grammy.dev/plugins/auto-retry
MIT License
7 stars 1 forks source link

Doesn't work for image or voice messages #13

Closed paras-malhotra closed 1 year ago

paras-malhotra commented 1 year ago

When we use this package and send an image (perhaps also applies for voice messages), it errors out with:

GrammyError: Call to 'sendPhoto' failed! (400: Bad Request: there is no photo in the request)

It does this for all image and voice messages sent - not just the ones that failed or were retried.

KnorpelSenf commented 1 year ago

It works for me, so the issue is not correct the way you describe it.

If you think you found a bug, then you need to at least provide some information about how to reproduce it.

paras-malhotra commented 1 year ago

I see, perhaps it may have been something to do with my setup. I'll reopen when I get some time to reproduce the error on a fresh Grammy app.