diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index 45d2d786..82437b5f 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -422,7 +422,7 @@ class UploadMethods: return result - if formatting_entities is not None: + if formatting_entities: msg_entities = formatting_entities else: caption, msg_entities =\