Link Search Menu Expand Document

Constructor: starsTransaction

Back to constructors index

Attributes:

NameTypeRequired
refundBoolOptional
pendingBoolOptional
failedBoolOptional
giftBoolOptional
reactionBoolOptional
idstringYes
starsStarsAmountYes
dateintYes
peerStarsTransactionPeerYes
titlestringOptional
descriptionstringOptional
photoWebDocumentOptional
transaction_dateintOptional
transaction_urlstringOptional
bot_payloadbytesOptional
msg_idintOptional
extended_mediaArray of MessageMediaOptional
subscription_periodintOptional
giveaway_post_idintOptional
stargiftStarGiftOptional
floodskip_numberintOptional
starref_commission_permilleintOptional
starref_peerPeerOptional
starref_amountStarsAmountOptional

Type: StarsTransaction

Example:

$starsTransaction = ['_' => 'starsTransaction', 'refund' => Bool, 'pending' => Bool, 'failed' => Bool, 'gift' => Bool, 'reaction' => Bool, 'id' => 'string', 'stars' => StarsAmount, 'date' => int, 'peer' => StarsTransactionPeer, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'transaction_date' => int, 'transaction_url' => 'string', 'bot_payload' => 'bytes', 'msg_id' => int, 'extended_media' => [MessageMedia, MessageMedia], 'subscription_period' => int, 'giveaway_post_id' => int, 'stargift' => StarGift, 'floodskip_number' => int, 'starref_commission_permille' => int, 'starref_peer' => Peer, 'starref_amount' => StarsAmount];