Skip to main content

inputMediaPaidMedia

Paid media, see here » for more info.

type tg.InputMediaPaidMedia struct { /* ... */ }

Implements InputMedia.

Fields

NameTypeRequiredDescription
StarsAmountint64yesThe price of the media in Telegram Stars.
ExtendedMedia[]InputMediaClassyesPhotos or videos.
PayloadstringBots 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)

References