Message.reply_paid_media()¶
- Message.reply_paid_media()¶
Shortcut for method
send_paid_mediawill automatically fill method attributes:chat_id
direct_messages_topic_id
business_connection_id
reply_parameters
- Parameters:
stars_amount (
int) – The number of Telegram Stars that must be paid to buy access to the media.media (List of
InputMediaPhoto,InputMediaVideo) – A list describing photos and videos to be sent, must include 1–10 items.caption (
str, optional) – Media caption, 0-1024 characters after entities parsing.invoice_payload (
str) – Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.parse_mode (
ParseMode, optional) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together.disable_notification (
bool, optional) – Sends the message silently. Users will receive a notification with no sound.direct_messages_topic_id (
int, optional) – Unique identifier of the topic in a channel direct messages chat administered by the current user. For directs only only.reply_parameters (
ReplyParameters, optional) – Describes reply parameters for the message that is being sent.suggested_post_parameters (
SuggestedPostParameters, optional) – Information about the suggested post.schedule_date (
datetime, optional) – Date when the message will be automatically sent.protect_content (
bool, optional) – Protects the contents of the sent message from forwarding and saving.show_caption_above_media (
bool, optional) – Pass True, if the caption must be shown above the message media.
- Returns:
List of
Message– On success, a list of messages is returned.