1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 03:47:32 +01:00
MadelineProto/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md

44 lines
1.0 KiB
Markdown
Raw Normal View History

---
title: payments.validatedRequestedInfo
description: payments_validatedRequestedInfo attributes, type and example
---
## Constructor: payments.validatedRequestedInfo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[string](../types/string.md) | Optional|
|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|
### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md)
### Example:
```
$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "payments.validatedRequestedInfo", "id": "string", "shipping_options": [ShippingOption]}
```
Or, if you're into Lua:
```
payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}}
```