diff --git a/telethon/client/messages.py b/telethon/client/messages.py index e472b47d..64d34ca4 100644 --- a/telethon/client/messages.py +++ b/telethon/client/messages.py @@ -709,7 +709,7 @@ class MessageMethods: Width/height and dimensions/size ratios may be important. For Telegram to accept a thumbnail, you must provide the dimensions of the underlying media through ``attributes=`` - with :tl:`DocumentAttributesVideo` or by installing the + with :tl:`DocumentAttributeVideo` or by installing the optional ``hachoir`` dependency. force_document (`bool`, optional): @@ -1154,7 +1154,7 @@ class MessageMethods: Width/height and dimensions/size ratios may be important. For Telegram to accept a thumbnail, you must provide the dimensions of the underlying media through ``attributes=`` - with :tl:`DocumentAttributesVideo` or by installing the + with :tl:`DocumentAttributeVideo` or by installing the optional ``hachoir`` dependency. force_document (`bool`, optional): diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index 9844369b..28e791e1 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -247,7 +247,7 @@ class UploadMethods: Width/height and dimensions/size ratios may be important. For Telegram to accept a thumbnail, you must provide the dimensions of the underlying media through ``attributes=`` - with :tl:`DocumentAttributesVideo` or by installing the + with :tl:`DocumentAttributeVideo` or by installing the optional ``hachoir`` dependency.