You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed message: " گندم را دزدیدند صدای اعتراض هابلند شد، نان بین مردم پخش کردند اعتراض هاخاموش شد، این جماعت فقط به دنبالسیر کردن شکم خود هستند نه گرفتن حقشان! "نویسنده: برتولت برشت____________________@__hijran
Error: Exception Type: EntityBoundsInvalidError. Some of provided entities have invalid bounds (length is zero or out of the boundaries of the string) (caused by SendMessageRequest)
Expected behavior
sending without issues
Actual behavior
Error: Exception Type: EntityBoundsInvalidError. Some of provided entities have invalid bounds (length is zero or out of the boundaries of the string) (caused by SendMessageRequest)
Traceback
No response
Telethon version
1.36.0
Python version
3.10
Operating system (including distribution name and version)
Ubuntu
Other details
No response
Checklist
The error is in the library's code, and not in my own.
I have searched for this issue before posting it and there isn't an open duplicate.
I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.
The text was updated successfully, but these errors were encountered:
Code that causes the issue
await bot.send_message(chat_id, message=message, link_preview=False)
Failed message: " گندم را دزدیدند صدای اعتراض هابلند شد، نان بین مردم پخش کردند اعتراض هاخاموش شد، این جماعت فقط به دنبالسیر کردن شکم خود هستند نه گرفتن حقشان! "نویسنده: برتولت برشت____________________@__hijran
Error: Exception Type: EntityBoundsInvalidError. Some of provided entities have invalid bounds (length is zero or out of the boundaries of the string) (caused by SendMessageRequest)
Expected behavior
sending without issues
Actual behavior
Error: Exception Type: EntityBoundsInvalidError. Some of provided entities have invalid bounds (length is zero or out of the boundaries of the string) (caused by SendMessageRequest)
Traceback
No response
Telethon version
1.36.0
Python version
3.10
Operating system (including distribution name and version)
Ubuntu
Other details
No response
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.The text was updated successfully, but these errors were encountered: