DevStakePool / thoth-bot

THOTH - Telegram Cardano BOT that is able to notify users about wallet TXs
Apache License 2.0
10 stars 1 forks source link

Truncate telegram jumbo messages #46

Closed DevStakePool closed 9 months ago

DevStakePool commented 9 months ago

2024-01-27 21:14:14.207 ERROR 491524 --- [WalletCheckerThread1] c.d.thothBot.telegram.TelegramFacade : Can't send message due to code=400 description=Bad Request: mess age is too long message=🔑 $x0 ✉ 1 new transaction(s)

⤵ Received Funds and Tokens 27.01.2024, 08:13 PM 🔹Fee 1.05 ₳ (0.51 $) 🔹Received 7,953.87 ₳ (3,882.15 $) 📃 Plutus Contracts: ▪Valid with size 9268 byte(s) ▪Valid with size 9268 byte(s) ▪Valid with size 9268 byte(s) 🔸SpearofCircumstance4610 1 🔸Goomble #9301 1 🔸UnbotheredWolf0114 1 🔸Goomble0086 1 🔸Landbot4235 1 🔸Jellycube #1311 1 🔸Brave Dog #3983 1 🔸Fidem #034 1 🔸...6130303637 1 🔸MalTheTrader16124 1 🔸...6130333537 1 🔸JPGHIPPO1270 1 🔸JPGHIPPO1232 1 🔸...6131333433 1 🔸StankApe3943 1 🔸JPGHIPPO734 1 🔸Goomble2036 1 🔸EquinePioneerJockey08116 1 🔸ALLEYKATZ00981 1 ... continues

Messages like this shall be truncated