mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Small docstrings fixup
This commit is contained in:
parent
da4ff268a4
commit
c485715db1
@ -45,7 +45,7 @@ class EditMessageMedia(BaseClient):
|
|||||||
Use previously uploaded file via its file_id or specify a URL.
|
Use previously uploaded file via its file_id or specify a URL.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
media (:obj:`InputMedia`)
|
media (:obj:`InputMedia`):
|
||||||
One of the InputMedia objects describing an animation, audio, document, photo or video.
|
One of the InputMedia objects describing an animation, audio, document, photo or video.
|
||||||
|
|
||||||
chat_id (``int`` | ``str``, *optional*):
|
chat_id (``int`` | ``str``, *optional*):
|
||||||
|
@ -2361,12 +2361,7 @@ class Message(Object, Update):
|
|||||||
text: str,
|
text: str,
|
||||||
parse_mode: str = "",
|
parse_mode: str = "",
|
||||||
disable_web_page_preview: bool = None,
|
disable_web_page_preview: bool = None,
|
||||||
reply_markup: Union[
|
reply_markup: "pyrogram.InlineKeyboardMarkup" = None
|
||||||
"pyrogram.InlineKeyboardMarkup",
|
|
||||||
"pyrogram.ReplyKeyboardMarkup",
|
|
||||||
"pyrogram.ReplyKeyboardRemove",
|
|
||||||
"pyrogram.ForceReply"
|
|
||||||
] = None
|
|
||||||
) -> "Message":
|
) -> "Message":
|
||||||
"""Bound method *edit* of :obj:`Message`.
|
"""Bound method *edit* of :obj:`Message`.
|
||||||
|
|
||||||
@ -2418,12 +2413,7 @@ class Message(Object, Update):
|
|||||||
self,
|
self,
|
||||||
caption: str,
|
caption: str,
|
||||||
parse_mode: str = "",
|
parse_mode: str = "",
|
||||||
reply_markup: Union[
|
reply_markup: "pyrogram.InlineKeyboardMarkup" = None
|
||||||
"pyrogram.InlineKeyboardMarkup",
|
|
||||||
"pyrogram.ReplyKeyboardMarkup",
|
|
||||||
"pyrogram.ReplyKeyboardRemove",
|
|
||||||
"pyrogram.ForceReply"
|
|
||||||
] = None
|
|
||||||
) -> "Message":
|
) -> "Message":
|
||||||
"""Bound method *edit_caption* of :obj:`Message`.
|
"""Bound method *edit_caption* of :obj:`Message`.
|
||||||
|
|
||||||
@ -2486,7 +2476,7 @@ class Message(Object, Update):
|
|||||||
message.edit_media(media)
|
message.edit_media(media)
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
media (:obj:`InputMediaAnimation` | :obj:`InputMediaAudio` | :obj:`InputMediaDocument` | :obj:`InputMediaPhoto` | :obj:`InputMediaVideo`)
|
media (:obj:`InputMedia`):
|
||||||
One of the InputMedia objects describing an animation, audio, document, photo or video.
|
One of the InputMedia objects describing an animation, audio, document, photo or video.
|
||||||
|
|
||||||
reply_markup (:obj:`InlineKeyboardMarkup`, *optional*):
|
reply_markup (:obj:`InlineKeyboardMarkup`, *optional*):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user