From 8845b976ab1ac8cb7acc875a1d484683ecd98c3d Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 23 Jun 2021 17:01:06 +0200 Subject: [PATCH] Fix docs (#699) (#703) * Fix docs (#699) * typo fixing * Update inline_query_result_video.py * layer update 129 (commits) * fixes * Update main_api.tl * Update main_api.tl Co-authored-by: BelgenOp <76117511+BelgenOp@users.noreply.github.com> --- compiler/api/source/main_api.tl | 2 +- pyrogram/types/inline_mode/inline_query_result_audio.py | 4 ++-- pyrogram/types/inline_mode/inline_query_result_video.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/api/source/main_api.tl b/compiler/api/source/main_api.tl index 1f4c1c1b..332eb5f2 100644 --- a/compiler/api/source/main_api.tl +++ b/compiler/api/source/main_api.tl @@ -1634,4 +1634,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats; -// LAYER 129 \ No newline at end of file +// LAYER 129 diff --git a/pyrogram/types/inline_mode/inline_query_result_audio.py b/pyrogram/types/inline_mode/inline_query_result_audio.py index dde8b5e6..6ca8c34c 100644 --- a/pyrogram/types/inline_mode/inline_query_result_audio.py +++ b/pyrogram/types/inline_mode/inline_query_result_audio.py @@ -48,7 +48,7 @@ class InlineQueryResultAudio(InlineQueryResult): Audio duration in seconds. caption (``str``, *optional*): - Caption of the photo to be sent, 0-1024 characters. + Caption of the audio to be sent, 0-1024 characters. parse_mode (``str``, *optional*): By default, texts are parsed using both Markdown and HTML styles. @@ -64,7 +64,7 @@ class InlineQueryResultAudio(InlineQueryResult): Inline keyboard attached to the message. input_message_content (:obj:`~pyrogram.types.InputMessageContent`, *optional*): - Content of the message to be sent instead of the photo. + Content of the message to be sent instead of the audio. """ def __init__( diff --git a/pyrogram/types/inline_mode/inline_query_result_video.py b/pyrogram/types/inline_mode/inline_query_result_video.py index ca0ffda2..cf035408 100644 --- a/pyrogram/types/inline_mode/inline_query_result_video.py +++ b/pyrogram/types/inline_mode/inline_query_result_video.py @@ -61,7 +61,7 @@ class InlineQueryResultVideo(InlineQueryResult): Short description of the result. caption (``str``, *optional*): - Caption of the photo to be sent, 0-1024 characters. + Caption of the video to be sent, 0-1024 characters. parse_mode (``str``, *optional*): By default, texts are parsed using both Markdown and HTML styles.