mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
31 lines
758 B
Markdown
31 lines
758 B
Markdown
---
|
|
title: "paymentCharge"
|
|
description: "Payment identifier"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: paymentCharge
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Payment identifier
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|id|[string](/API_docs/types/string.html) | Yes|Telegram payment identifier|
|
|
|provider\_charge\_id|[string](/API_docs/types/string.html) | Yes|Provider payment identifier|
|
|
|
|
|
|
|
|
### Type: [PaymentCharge](/API_docs/types/PaymentCharge.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string'];
|
|
```
|