pyrofork: Update edit_message_media and edit_inline_media description

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-11-14 17:42:25 +07:00
parent 072cc0cead
commit 7726e22161
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ class EditInlineMedia:
media: "types.InputMedia",
reply_markup: "types.InlineKeyboardMarkup" = None
) -> bool:
"""Edit inline animation, audio, document, photo or video messages.
"""Edit inline animation, audio, document, photo or video messages, or replace inline text with inline animation, audio, document, photo or video messages.
When the inline message is edited, a new file can't be uploaded. Use a previously uploaded file via its file_id
or specify a URL.

View file

@ -40,7 +40,7 @@ class EditMessageMedia:
invert_media: bool = False,
business_connection_id: str = None
) -> "types.Message":
"""Edit animation, audio, document, photo or video messages.
"""Edit animation, audio, document, photo or video messages, or replace text with animation, audio, document, photo or video messages.
If a message is a part of a message album, then it can be edited only to a photo or a video. Otherwise, the
message type can be changed arbitrarily.