Layer 220
StarsTransactionPeer
Abstract type representing one of 8 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.StarsTransactionPeer interface.
Use any of the following constructors:
StarsTransactionPeerPremiumBot
Describes a Telegram Star transaction made using @Premium Bot (i. e. using the input Invoice Stars flow
StarsTransactionPeerUnsupported
Describes a Telegram Star transaction that cannot be described using the current layer.
StarsTransactionPeerAppStore
Describes a Telegram Star transaction with the App Store, used when purchasing Telegram Stars throug
StarsTransactionPeerPlayMarket
Describes a Telegram Star transaction with the Play Store, used when purchasing Telegram Stars throu
StarsTransactionPeer
Describes a Telegram Star transaction with another peer.
StarsTransactionPeerFragment
Describes a Telegram Star transaction with Fragment, used when purchasing Telegram Stars through Fr
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.
Gogram Example
// StarsTransactionPeer is an interface type // You can use any of the following constructors: var _ tg.StarsTransactionPeer = &tg.StarsTransactionPeerPremiumBot{} var _ tg.StarsTransactionPeer = &tg.StarsTransactionPeerUnsupported{} var _ tg.StarsTransactionPeer = &tg.StarsTransactionPeerAppStore{} var _ tg.StarsTransactionPeer = &tg.StarsTransactionPeerPlayMarket{} var _ tg.StarsTransactionPeer = &tg.StarsTransactionPeer{} // ... and 3 more constructors