Allow sending messages longer than 4096 chars #41
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: thereadme/node-telegram-api#41
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This will split message into 4096 char chunks and send one after another.
@laurynas-karvelis Hey! Thanks for this, I think we should move the handling of this case to
Message.js
and set a customsend
method instead of theif
statement inBase.js
, what do you think?This is what I've achieved so far, I suppose this makes sense.
Edit: bump :)
Sorry for the delay, I had forgotten about this since the notification was already marked as read.
Looks good, thanks a lot!
By the way, I would like to make you a collaborator on the repository, do you mind if I add you to the npm package and GitHub repository as a collaborator? Pull-requests are going to be necessary still but I want you to have more control 😁 - If so, please send me your npm credentials as well
Published
telegram-api@3.0.0
Hi @mdibaiee, sorry for such a long response :). I'd like to keep contributing once in a while by submitting PRs instead of being repo collaborator. I'm not sure how actively I'll keep on developing with this module, hence won't be able to stay always up-to-date with the codebase etc.
I might come back with additional PR sometime soon-ish regards persisting Markdown/HTML structure once a long message gets split up into multiple 4Kb chunks.
@laurynas-karvelis I understand, I would like to thank you for your contributions anyways. 😁👍
Thank You for this great module :)