mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-09-28 03:45:55 +00:00
Update description of some methods
This commit is contained in:
parent
513f05d34c
commit
5e88c6d028
@ -103,7 +103,8 @@ class CopyMediaGroup:
|
||||
Date when the message will be automatically sent.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
Returns:
|
||||
List of :obj:`~pyrogram.types.Message`: On success, a list of copied messages is returned.
|
||||
|
@ -60,7 +60,8 @@ class EditMessageMedia:
|
||||
One of the InputMedia objects describing an animation, audio, document, photo or video.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
schedule_date (:py:obj:`~datetime.datetime`, *optional*):
|
||||
Date when the message will be automatically sent.
|
||||
|
@ -112,7 +112,8 @@ class SendCachedMedia:
|
||||
True, if the message media is covered by a spoiler animation.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
|
||||
Additional interface options. An object for an inline keyboard, custom reply keyboard,
|
||||
|
@ -106,7 +106,8 @@ class SendMediaGroup:
|
||||
Protects the contents of the sent message from forwarding and saving.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
Returns:
|
||||
List of :obj:`~pyrogram.types.Message`: On success, a list of the sent messages is returned.
|
||||
|
@ -82,7 +82,8 @@ class SendMessage:
|
||||
For supergroups only.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
@ -75,13 +75,16 @@ class SendWebPage:
|
||||
List of special entities that appear in message text, which can be specified instead of *parse_mode*.
|
||||
|
||||
force_large_media (``bool``, *optional*):
|
||||
Make web page preview image larger.
|
||||
If True, media in the link preview will be larger.
|
||||
Ignored if the URL isn't explicitly specified or media size change isn't supported for the preview.
|
||||
|
||||
force_small_media (``bool``, *optional*):
|
||||
Make web page preview image smaller.
|
||||
If True, media in the link preview will be smaller.
|
||||
Ignored if the URL isn't explicitly specified or media size change isn't supported for the preview.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
disable_notification (``bool``, *optional*):
|
||||
Sends the message silently.
|
||||
|
@ -140,7 +140,8 @@ class Message(Object, Update):
|
||||
You can use ``media = getattr(message, message.media.value)`` to access the media message.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
edit_date (:py:obj:`~datetime.datetime`, *optional*):
|
||||
Date the message was last edited.
|
||||
@ -1234,7 +1235,8 @@ class Message(Object, Update):
|
||||
For supergroups only.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Invert media.
|
||||
If True, link preview will be shown above the message text.
|
||||
Otherwise, the link preview will be shown below the message text.
|
||||
|
||||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
@ -81,10 +81,12 @@ class WebPage(Object):
|
||||
Whether the webpage preview is large.
|
||||
|
||||
force_large_media (``bool``, *optional*):
|
||||
Request the client to enlarge the webpage preview.
|
||||
If True, media in the link preview will be larger.
|
||||
Ignored if the URL isn't explicitly specified or media size change isn't supported for the preview.
|
||||
|
||||
force_small_media (``bool``, *optional*):
|
||||
Request the client to shrink the webpage preview.
|
||||
If True, media in the link preview will be smaller.
|
||||
Ignored if the URL isn't explicitly specified or media size change isn't supported for the preview.
|
||||
|
||||
manual (``bool``, *optional*):
|
||||
Whether the webpage preview was changed by the user.
|
||||
|
Loading…
Reference in New Issue
Block a user