PaidMediaInfo

@Serializable
data class PaidMediaInfo(val starCount: Int, val paidMedia: List<PaidMedia>)

Describes the paid media added to a message.

Api reference

Constructors

Link copied to clipboard
constructor(starCount: Int, paidMedia: List<PaidMedia>)

Properties

Link copied to clipboard

Information about the paid media

Link copied to clipboard

The number of Telegram Stars that must be paid to buy access to the media