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

Splitting too long messages into multiple messages #117

Open
boesbo opened this issue Mar 29, 2020 · 2 comments
Open

Splitting too long messages into multiple messages #117

boesbo opened this issue Mar 29, 2020 · 2 comments

Comments

@boesbo
Copy link

boesbo commented Mar 29, 2020

Which version are you using?

3.5.0

Splitting too long messages into multiple messages like this library does: https://github.com/php-telegram-bot/core

@unreal4u
Copy link
Owner

Hi!

Thanks for the idea, however I don't really know what you are referring to as I don't use the library you refer to.

Are you referring to the fact that the text of a message has to be less than 4096 bytes long or do you want an arbitrary stop? In that case; why does that belong in this library and is not implemented by the user?

Greetings.

@boesbo
Copy link
Author

boesbo commented Mar 29, 2020

I'm saying that it would be useful to insert a logic in your library that: once the character limit is exceeded, it automatically splits into several messages.
I sent you an example of a Telegram library that does this.

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

No branches or pull requests

2 participants