MadelineProtoDocs/old_docs/API_docs_v75/constructors/payments_paymentResult.md

43 lines
823 B
Markdown
Raw Normal View History

2018-06-29 13:59:08 +02:00
---
title: payments.paymentResult
description: payments_paymentResult attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: payments.paymentResult
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|updates|[Updates](../types/Updates.md) | Yes|
### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md)
### Example:
```php
2018-06-29 13:59:08 +02:00
$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "payments.paymentResult", "updates": Updates}
```
Or, if you're into Lua:
2018-06-29 13:59:08 +02:00
```lua
2018-06-29 13:59:08 +02:00
payments_paymentResult={_='payments.paymentResult', updates=Updates}
```