mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
pyrofork: Update edit_message_media and edit_inline_media description
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
072cc0cead
commit
7726e22161
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue