MadelineProtoDocs/old_docs/API_docs_v26/constructors/payments.savedInfo.md

41 lines
1.0 KiB
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: payments.savedInfo
description: Saved server-side order information
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/payments_savedInfo.html
---
# Constructor: payments.savedInfo
[Back to constructors index](index.md)
Saved server-side order information
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials|
|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information|
### Type: [payments.SavedInfo](../types/payments.SavedInfo.md)
### Example:
```php
$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo];
```
Or, if you're into Lua:
```lua
payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo}
```