Skip to content

sendMediaGroup file size limitation #671

Description

@HeliosVicious

I used a local Telegram Bot API server to upload files to my group. The 2000 MB size limitation was ok because I split the files into archives and sent them separately. Now I need to send a video, so I decided to use sendMediaGroup and split the video into chunks smaller than 2000 MB. It worked fine as long as the total video size was under 4000 MB.

However, trying to send a media group containing three videos with a total size of ~4200 MB results in an error:
[HttpConnectionBase.cpp:134][!HttpInboundConnection] [Error : 413 : Request Entity Too Large: content length is 4294967295].

I chose sendMediaGroup because it looks better in my case. I want to send the video with a caption, but sending 10 separate videos and only adding the caption to the last one looks odd.
If it’s impossible to send more than 4000 MB in total, I’ll probably stick to sending two videos per message.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions