Link Search Menu Expand Document

Constructor: payments.paymentReceiptStars

Back to constructors index

Receipt for payment made using Telegram Stars.

Attributes:

NameTypeRequiredDescription
dateintYesDate of generation
bot_idlongYesBot ID
titlestringYesTitle
descriptionstringYesDescription
photoWebDocumentOptionalProduct photo
invoiceInvoiceYesInvoice
currencystringYesCurrency, always XTR.
total_amountlongYesAmount of Telegram Stars.
transaction_idstringYesTransaction ID
usersArray of UserYesInfo 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]];