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 | long | 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 |
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];