question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Telegram - splitt messages

See original GitHub issue

📣 Notification Service(s) Impacted Telegram

🐞 Describe the bug If too much log gets reported, it doesn’t work. So I won’t get any message. The message needs to get splitt into multiple messages if it hits the message limit of telegram.

At least I get the “too long” error on the next report run. But the previous message is lost until I manually check the systemd-journald.

💡 Screenshots and Logs WARNING:apprise:Failed to send Telegram notification to {chat_id}: Bad Request: message is too long, error=400

💻 Your System Details:

  • OS: Arch Linux
  • Python Version: v3.10.8

🔮 Additional context Just too much message text for the telegram bot api.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
caronccommented, Nov 12, 2022

Going to close this ticket off for now; the documentation needs to be updated; no question here.

The important part is hopefully you’re back in buisness

0reactions
MartinX3commented, Nov 5, 2022

😄 Maybe a link to a general list above each table of the agent parameters

Read more comments on GitHub >

github_iconTop Results From Across the Web

Split message telegram bot pyrogram - python - Stack Overflow
Is it possible to split message in pieces and print big messages from source chat as few small messages in destination chat?
Read more >
How to separate your work and personal chats in Telegram
Telegram's folder feature lets you separate different kind of conversations, like personal and work chats.
Read more >
Text split and forward bot : r/TelegramBots - Reddit
Hi there. I am looking for a bot that slpits a long text into several messages (one line, one message) and forwards them...
Read more >
[FeatureRequest] Split too long messages · Issue #768 - GitHub
The only thing I'm missing migrating from php implementation of a bot is a feature that splits outgoing messages automaticaly if it exceeds ......
Read more >
Telegram bot Message Merger — @messagemergerbot
A bot to get message with all contents of multiple messages concatenated! ... sends back to you merged messages; /split: splits up your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found