Skip to content

Commit

Permalink
pyrofork: Update edit_message_media and edit_inline_media description
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Nov 14, 2024
1 parent c61ebc7 commit 45bfbd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyrogram/methods/messages/edit_inline_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def edit_inline_media(
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.
Expand Down
2 changes: 1 addition & 1 deletion pyrogram/methods/messages/edit_message_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def edit_message_media(
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.
Expand Down

0 comments on commit 45bfbd0

Please sign in to comment.