Constructor: inputMediaPaidMedia
Paid media, see here » for more info.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
stars_amount | long | Yes | The price of the media in Telegram Stars. |
extended_media | Array of MessageMedia, Message, Update or InputMedia | Yes | Photos or videos. |
payload | string | Optional | Bots only, specifies a custom payload that will then be passed in updateBotPurchasedPaidMedia when a payment is made (this field will not be visible to the user) |
Type: InputMedia
Example:
$inputMediaPaidMedia = ['_' => 'inputMediaPaidMedia', 'stars_amount' => long, 'extended_media' => [InputMedia, InputMedia], 'payload' => 'string'];