MadelineProtoDocs/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md
2018-07-12 20:24:55 +02: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}}