Closed ciricc closed 2 years ago
I assume this applies to document messages likewise. Can you confirm this?
Both message types should extend media messages rather than captionable messages. This mistake was made when Telegram started to allow more message types in albums.
I mean audio file media group message
It looks like this
Or with caption like this
I understood that. The question is if you have the same problem with document messages, such as PDF files. I believe those messages are affected by the same bug. Can you confirm this?
the API states Audio, Document, Photo and Video should work there. https://core.telegram.org/bots/api#sendmediagroup
Interestingly InputMediaAnimation
also exists as a possible InputMedia
but looks like it isnt working for sendMediaGroup
.
That's correct. InputMedia
is also used in https://core.telegram.org/bots/api#editmessagemedia and that's where you can specify InputMediaAnimation
.
Sorry, i didn't understand. Yes, this bug reproduces also with documents. Documents also can be sent in media group.
Alrighty, then I know how to fix this. Thanks for testing it. Will push a patch release tomorrow.
Telegram supports audio media group messages, but telegraf type doesn't.