Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce maximum number of entities #102

Open
nmlorg opened this issue Jul 9, 2024 · 0 comments
Open

Enforce maximum number of entities #102

nmlorg opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nmlorg
Copy link
Owner

nmlorg commented Jul 9, 2024

Man, there's another limit:

ntelebot.errors.Error: {'ok': False, 'error_code': 400, 'description': 'Bad Request: ENTITIES_TOO_LONG'}

The only place I see this documented is https://core.telegram.org/method/messages.editMessage:

400 ENTITIES_TOO_LONG You provided too many styled message entities.
@nmlorg nmlorg added the bug Something isn't working label Jul 9, 2024
@nmlorg nmlorg self-assigned this Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant