telegram-api icon indicating copy to clipboard operation
telegram-api copied to clipboard

Splitting too long messages into multiple messages

Open boesbo opened this issue 5 years ago • 2 comments

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

boesbo avatar Mar 29 '20 11:03 boesbo

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.

unreal4u avatar Mar 29 '20 11:03 unreal4u

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.

boesbo avatar Mar 29 '20 11:03 boesbo