StarsTransactionPeer#

class pyrogram.raw.base.StarsTransactionPeer#

Source of an incoming Telegram Star transaction, or its recipient for outgoing Telegram Star transactions.

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

Constructors:

This base type has 8 constructors available.

StarsTransactionPeer

Describes a Telegram Star transaction with another peer.

StarsTransactionPeerAPI

Describes a Telegram Star transaction used to pay for paid API usage, such as paid bot broadcasts.

StarsTransactionPeerAds

Describes a Telegram Star transaction used to pay for Telegram ads as specified here .

StarsTransactionPeerAppStore

Describes a Telegram Star transaction with the App Store, used when purchasing Telegram Stars through the App Store.

StarsTransactionPeerFragment

Describes a Telegram Star transaction with Fragment, used when purchasing Telegram Stars through Fragment.

StarsTransactionPeerPlayMarket

Describes a Telegram Star transaction with the Play Store, used when purchasing Telegram Stars through the Play Store.

StarsTransactionPeerPremiumBot

Describes a Telegram Star transaction made using @PremiumBot (i.e. using the inputInvoiceStars flow described here ).

StarsTransactionPeerUnsupported

Describes a Telegram Star transaction that cannot be described using the current layer.