Media upload to fix

Author: BadiboyCreated Aug 28, 2026Updated Aug 28, 2026

Todo.

It seems like uploads for InputRichBlockAnimation, InputRichBlockAudio, InputRichBlockPhoto, InputRichBlockVideo, InputRichBlockVoiceNote will not work InputRichMessageMedia also. https://github.com/eternnoir/pyTelegramBotAPI/pull/2622#issuecomment-5437604896

Apihelper would also need altering, for functions like send_rich_message, send_rich_message_draft, and edit_message_text https://github.com/eternnoir/pyTelegramBotAPI/pull/2622#issuecomment-5437618602

replace_sticker_in_set should use convert_input_sticker to upload stickers similar to add_sticker_to_set checklist in send_checklist needs .to_dict() both in apihelper & asyncio_helper files https://github.com/eternnoir/pyTelegramBotAPI/pull/2622#issuecomment-5437707154

Source: eternnoir/pyTelegramBotAPI