mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 19:27:26 +01:00
43 lines
747 B
Markdown
43 lines
747 B
Markdown
|
---
|
||
|
title: payments.paymentResult
|
||
|
description: payments_paymentResult attributes, type and example
|
||
|
---
|
||
|
## 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:
|
||
|
|
||
|
```
|
||
|
$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "payments.paymentResult", "updates": Updates}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
payments_paymentResult={_='payments.paymentResult', updates=Updates}
|
||
|
|
||
|
```
|
||
|
|
||
|
|