MadelineProtoDocs/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.9 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]];

PWRTelegram json-encoded version:

{"_": "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]}

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}}