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

Message is too long "error_code":400 #223

Closed
EllysahatNMI opened this issue Nov 10, 2016 · 1 comment
Closed

Message is too long "error_code":400 #223

EllysahatNMI opened this issue Nov 10, 2016 · 1 comment

Comments

@EllysahatNMI
Copy link

Hi! I was using the simple "bot.sendMessage" api to send messages but I received this error.

Do you know the limit to the length of the message? Or maybe tell me how I can change the limit.

@GochoMugo
Copy link
Collaborator

The Maximum number of characters allowed is 4096! You will have to split your messages. (Check out tgfancy for a possible solution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants