MadelineProtoDocs/old_docs/API_docs_v42/constructors/payments.validatedRequestedInfo.md

41 lines
1.0 KiB
Markdown
Raw Normal View History

2020-09-12 12:47:38 +02:00
---
title: payments.validatedRequestedInfo
description: Validated user-provided info
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/payments_validatedRequestedInfo.html
---
# Constructor: payments.validatedRequestedInfo
[Back to constructors index](index.md)
Validated user-provided info
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[string](../types/string.md) | Optional|ID|
|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options|
### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md)
### Example:
```php
$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]];
```
Or, if you're into Lua:
```lua
payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}}
```