MadelineProtoDocs/docs/API_docs/constructors/paymentRequestedInfo.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

48 lines
1.2 KiB
Markdown

---
title: paymentRequestedInfo
description: Payment requested info
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: paymentRequestedInfo
[Back to constructors index](index.md)
Payment requested info
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|name|[string](../types/string.md) | Optional|Name|
|phone|[string](../types/string.md) | Optional|Phone|
|email|[string](../types/string.md) | Optional|Email|
|shipping\_address|[PostAddress](../types/PostAddress.md) | Optional|Shipping address|
### Type: [PaymentRequestedInfo](../types/PaymentRequestedInfo.md)
### Example:
```php
$paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => 'string', 'phone' => 'string', 'email' => 'string', 'shipping_address' => PostAddress];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "paymentRequestedInfo", "name": "string", "phone": "string", "email": "string", "shipping_address": PostAddress}
```
Or, if you're into Lua:
```lua
paymentRequestedInfo={_='paymentRequestedInfo', name='string', phone='string', email='string', shipping_address=PostAddress}
```