payments.paymentReceipt

Receipt

Constructor schema is available as of layer 127. Switch ยป

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 flags.2?WebDocument Photo
invoice Invoice Invoice
info flags.0?PaymentRequestedInfo Info
shipping flags.1?ShippingOption Selected shipping option
tip_amount flags.3?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

Related pages

Bot Payments API