MadelineProtoDocs/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.8 KiB

title description image
payments.paymentReceipt payments_paymentReceipt attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: payments.paymentReceipt

Back to constructors index

Attributes:

Name Type Required
date int Yes
bot_id int Yes
invoice Invoice Yes
provider_id int Yes
info PaymentRequestedInfo Optional
shipping ShippingOption Optional
currency string Yes
total_amount long Yes
credentials_title string Yes
users Array of User Yes

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