Constructor: payments.paymentReceiptStars
Receipt for payment made using Telegram Stars.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
date | int | Yes | Date of generation |
bot_id | long | Yes | Bot ID |
title | string | Yes | Title |
description | string | Yes | Description |
photo | WebDocument | Optional | Product photo |
invoice | Invoice | Yes | Invoice |
currency | string | Yes | Currency, always XTR . |
total_amount | long | Yes | Amount of Telegram Stars. |
transaction_id | string | Yes | Transaction ID |
users | Array of User | Yes | Info about users mentioned in the other fields. |
Type: payments.PaymentReceipt
Example:
$payments_paymentReceiptStars = ['_' => 'payments.paymentReceiptStars', 'date' => int, 'bot_id' => long, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'invoice' => Invoice, 'currency' => 'string', 'total_amount' => long, 'transaction_id' => 'string', 'users' => [User, User]];