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

This commit is contained in:
abcdenis 2026-01-12 19:31:04 +03:00 committed by GitHub
parent 980a2c0aa7
commit 416570fdf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

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):

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.