StarsTransactionPeer

class pyrogram.raw.base.StarsTransactionPeer

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

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.

TL Schema

starsTransactionPeer#d80da15d
peer:Peer

= StarsTransactionPeer

Parameter Tree

StarsTransactionPeer
└── peerPeer
├── PeerUser
│ └── user_idlong
├── PeerChat
│ └── chat_idlong
└── PeerChannel
└── channel_idlong

Example

StarsTransactionPeer(
    peer=PeerUser(user_id=0),
)