skip to Main Content

"telegram.error.BadRequest: Entities_too_long" error when trying to send long markdown message. What is the max string length limit? – Telegram API

This is the error i get when i try to send a long markdown message which has a ton of formatted hyperlinks in it: context.bot.send_message(chat_id=update.effective_chat.id, text=longmsg, parse_mode="MARKDOWN") #Output: telegram.error.BadRequest: Entities_too_long The actual message is hardly 500 characters long, but almost…

VIEW QUESTION
Back To Top
Search