MadelineProtoDocs/old_docs/API_docs_v21/constructors/paymentRequestedInfo.md

42 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: paymentRequestedInfo
description: Order info provided by the user
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: paymentRequestedInfo
[Back to constructors index](index.md)
Order info provided by the user
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|name|[string](../types/string.md) | Optional|User's full name|
|phone|[string](../types/string.md) | Optional|User's phone number|
|email|[string](../types/string.md) | Optional|User's email address|
|shipping\_address|[PostAddress](../types/PostAddress.md) | Optional|User's shipping address|
### Type: [PaymentRequestedInfo](../types/PaymentRequestedInfo.md)
### Example:
```php
$paymentRequestedInfo = ['_' => '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}
```