Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyrogram/methods/messages/send_paid_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def send_paid_media(
caption (``str``, *optional*):
Media caption, 0-1024 characters after entities parsing.

invoice_payload (``str``):
payload (``str``):
Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.

parse_mode (:obj:`~pyrogram.enums.ParseMode`, *optional*):
Expand Down
12 changes: 12 additions & 0 deletions pyrogram/methods/messages/send_web_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ async def send_web_page(
Link that will be previewed.
If url not specified, the first URL found in the text will be used.

prefer_small_media (``bool``, *optional*):
True, if the media in the link preview is supposed to be shrunk.
Ignored if the URL isn't explicitly specified or media size change isn't supported for the preview.

prefer_large_media (``bool``, *optional*):
True, if the media in the link preview is supposed to be enlarged.
Ignored if the URL isn't explicitly specified or media size change isn't supported for the preview.

show_caption_above_media (``bool``, *optional*):
True, if the link preview must be shown above the message text.
Otherwise, the link preview will be shown below the message text.

parse_mode (:obj:`~pyrogram.enums.ParseMode`, *optional*):
By default, texts are parsed using both Markdown and HTML styles.
You can combine both syntaxes together.
Expand Down
Loading