inputMediaPaidMedia
Paid media, see here » for more info.
type tg.InputMediaPaidMedia struct { /* ... */ }
Implements InputMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
StarsAmount | int64 | yes | The price of the media in Telegram Stars. |
ExtendedMedia | []InputMediaClass | yes | Photos or videos. |
Payload | string | — | 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) |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMediaPaidMedia#c4103386