Constructor: starsTransaction
Attributes:
Name | Type | Required |
---|---|---|
refund | Bool | Optional |
pending | Bool | Optional |
failed | Bool | Optional |
gift | Bool | Optional |
reaction | Bool | Optional |
id | string | Yes |
stars | StarsAmount | Yes |
date | int | Yes |
peer | StarsTransactionPeer | Yes |
title | string | Optional |
description | string | Optional |
photo | WebDocument | Optional |
transaction_date | int | Optional |
transaction_url | string | Optional |
bot_payload | bytes | Optional |
msg_id | int | Optional |
extended_media | Array of MessageMedia | Optional |
subscription_period | int | Optional |
giveaway_post_id | int | Optional |
stargift | StarGift | Optional |
floodskip_number | int | Optional |
starref_commission_permille | int | Optional |
starref_peer | Peer | Optional |
starref_amount | StarsAmount | Optional |
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];