Layer 227
InputMediaPaidMedia
Paid media, see here for more info.
constructor
inputMediaPaidMedia#c4103386 flags:# stars_amount:long extended_media:Vector<InputMedia> payload:flags.0?string = InputMedia;
Parameters
| Name | Type | Description |
|---|---|---|
| StarsAmount | long | The price of the media in Telegram Stars. |
| ExtendedMedia | Vector < InputMedia > | Photos or videos. |
| Payload | flags .0? string | Bots only, specifies a custom payload that will then be passed in update Bot Purchased Paid Media when a payment is made (this field will not be visible to the user) |
Returns
InputMediaGogram Example
// Creating InputMediaPaidMedia constructor obj := &tg.InputMediaPaidMedia{ StarsAmount: int64(1234567890), ExtendedMedia: &tg.VectorInputMedia{}, Payload: "Hello, World!", }