telegram api constructor · layer 229 · #70c4fe03
payments.paymentReceipt
Receipt
definition
payments.paymentReceipt#70c4fe03 flags:# date:int bot_id:long provider_id:long title:string description:string photo:flags.2?WebDocument invoice:Invoice info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption tip_amount:flags.3?long currency:string total_amount:long credentials_title:string users:Vector<User> = payments.PaymentReceipt;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
date | int | Date of generation |
bot_id | long | Bot ID |
provider_id | long | Provider ID |
title | string | Title |
description | string | Description |
photo | WebDocument | Photo |
invoice | Invoice | Invoice |
info | PaymentRequestedInfo | Info |
shipping | ShippingOption | Selected shipping option |
tip_amount | long | Tipped amount |
currency | string | Three-letter ISO 4217 currency code |
total_amount | long | Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). |
credentials_title | string | Payment credential name |
users | Vector<User> | Users |
type
payments.PaymentReceipt · other constructors: payments.paymentReceiptStars
history
present in layers 65–229 · constructor id changed 2×
| id | layers |
|---|---|
| #500911e1 | 65–126 |
| #10b555d0 | 127–132 |
| #70c4fe03 | 133–229 |