MadelineProtoDocs/docs/API_docs/constructors/payments_paymentReceipt.md

1.6 KiB

title description image
payments.paymentReceipt Payment receipt https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: payments.paymentReceipt

Back to constructors index

Payment receipt

Attributes:

Name Type Required Description
date int Yes Date
bot_id int Yes Bot ID
invoice Invoice Yes Invoice
provider_id int Yes Provider ID
info PaymentRequestedInfo Optional Info
shipping ShippingOption Optional Shipping
currency string Yes Currency
total_amount long Yes Total amount
credentials_title string Yes Credentials title
users Array of User Yes Users

Type: payments_PaymentReceipt

Example:

$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]];

Or, if you're into Lua:

payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}}