45 lines
838 B
Markdown
45 lines
838 B
Markdown
|
---
|
||
|
title: payments.paymentResult
|
||
|
description: Payment result
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: payments.paymentResult
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Payment result
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|updates|[Updates](../types/Updates.md) | Yes|Updates|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "payments.paymentResult", "updates": Updates}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
payments_paymentResult={_='payments.paymentResult', updates=Updates}
|
||
|
|
||
|
```
|
||
|
|
||
|
|