Albums, buttons and captions: combinations Telegram refuses
Rules verified by live API calls: when buttons work, what happens to an album, and why documents cannot mix with photos.
The Bot API documentation describes methods but says little about which combinations simply do not work. Here is what live calls reveal.
Buttons and albums
One media item with buttons — fine. An album of several photos with buttons — the request goes through, the response is successful, and there are no buttons in the chat. Telegram silently drops them.
So your code has to check: either buttons or an album. The same goes for a row of reactions — to Telegram those are buttons too. There are two ways around it: send the album first and the text with buttons after, or put everything into one rich message — the photos become a collage and the buttons stay. How that works is in the piece on images inside a long post.
Album homogeneity
Photos and videos group together in one album. Documents group only with documents, audio only with audio. Mixing a document with a photo is rejected outright.
A GIF does not go into an album at all, not even next to photos: the album
method takes only photos, videos, audio and documents. We checked with a
live call in October 2026 — the answer is type "animation" can't be used in sendMediaGroup.
Voice notes and video notes
A voice message and a video note always go as their own message. They cannot join an album or accompany other media.
Captions on albums
The caption shows on the first item only, and its limit is the same 1024 characters. Long text under a regular album has to travel as a second message — or move to a rich message, where the limit is 32,768.
Practical takeaway
Encode these rules once into a check that fires when the file is attached, not when the post is published. People need to learn “this is not allowed” before writing the post, not at the moment it should have gone out.
That is what we did: an invalid combination is explained immediately, and long text with an album goes out as a rich message. See features.