Skip to content

[BUG] Max Caption Length #3001

@Bibo-Joshi

Description

@Bibo-Joshi

Steps to Reproduce

  1. Send a message a caption with >1024 chars

Expected behaviour

BadRequest

Actual behaviour

Message is sent

Operating System

Any

Version of Python, python-telegram-bot & dependencies

v20.0a0

Relevant log output

No response

Additional Context

apparenty TG changed the limit to 4096 (the max message length). Investigate, ask for doc update & change the constant

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚙️ bot-apiaffected functionality: bot-api

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions