Link Search Menu Expand Document

Constructor: starsTransaction

Back to constructors index

Attributes:

NameTypeRequired
refundBoolOptional
pendingBoolOptional
failedBoolOptional
giftBoolOptional
reactionBoolOptional
idstringYes
starslongYes
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

Type: StarsTransaction

Example:

$starsTransaction = ['_' => 'starsTransaction', 'refund' => Bool, 'pending' => Bool, 'failed' => Bool, 'gift' => Bool, 'reaction' => Bool, 'id' => 'string', 'stars' => long, '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];