mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-14 01:52:21 +03:00
Updating docs for nosound_video
This commit is contained in:
parent
114cddaabe
commit
a083b68170
|
@ -755,14 +755,14 @@ class MessageMethods:
|
||||||
This parameter takes precedence over ``reply_to``. If there is
|
This parameter takes precedence over ``reply_to``. If there is
|
||||||
no linked chat, `telethon.errors.sgIdInvalidError` is raised.
|
no linked chat, `telethon.errors.sgIdInvalidError` is raised.
|
||||||
|
|
||||||
nosoundvideo (`bool`, optional):
|
nosound_video (`bool`, optional):
|
||||||
Only applicable when sending a video file without an audio
|
Only applicable when sending a video file without an audio
|
||||||
track. If set to true, the video will be displayed in telegram
|
track. If set to ``True``, the video will be displayed in
|
||||||
as a video. If set to false, telegram will attempt to display
|
Telegram as a video. If set to ``False``, Telegram will attempt
|
||||||
the video as an animated gif. (It may still display as a video
|
to display the video as an animated gif. (It may still display
|
||||||
due to other factors.) The value is ignored if set on
|
as a video due to other factors.) The value is ignored if set
|
||||||
non-video files. This is set to true for albums, as gifs cannot
|
on non-video files. This is set to ``True`` for albums, as gifs
|
||||||
be sent in albums.
|
cannot be sent in albums.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
The sent `custom.Message <telethon.tl.custom.message.Message>`.
|
The sent `custom.Message <telethon.tl.custom.message.Message>`.
|
||||||
|
|
|
@ -287,13 +287,13 @@ class UploadMethods:
|
||||||
Not all types of media can be used with this parameter, such
|
Not all types of media can be used with this parameter, such
|
||||||
as text documents, which will fail with ``TtlMediaInvalidError``.
|
as text documents, which will fail with ``TtlMediaInvalidError``.
|
||||||
|
|
||||||
nosound_video (`bool`. optional):
|
nosound_video (`bool`, optional):
|
||||||
This value only applies if sending a video without an audio
|
Only applicable when sending a video file without an audio
|
||||||
track. If True, the video will be displayed in telegram as a
|
track. If set to ``True``, the video will be displayed in
|
||||||
video. If False, telegram will attempt to display it as an
|
Telegram as a video. If set to ``False``, Telegram will attempt
|
||||||
animated gif. (Though it may still display as a video,
|
to display the video as an animated gif. (It may still display
|
||||||
depending on other factors.) The value is ignored if the file
|
as a video due to other factors.) The value is ignored if set
|
||||||
is not a video. The value is set to True for albums, as gifs
|
on non-video files. This is set to ``True`` for albums, as gifs
|
||||||
cannot be sent in albums.
|
cannot be sent in albums.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
|
|
Loading…
Reference in New Issue
Block a user