Fix doc typos on some raw API types (#4732)

This commit is contained in:
abcdenis
2026-01-12 17:31:04 +01:00
committed by GitHub
parent 980a2c0aa7
commit 416570fdf0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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):
+1 -1
View File
@@ -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.