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

46 lines
1.0 KiB
Markdown

---
title: inputPaymentCredentialsSaved
description: Payment credentials saved
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPaymentCredentialsSaved
[Back to constructors index](index.md)
Payment credentials saved
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[string](../types/string.md) | Yes|ID|
|tmp\_password|[bytes](../types/bytes.md) | Yes|Tmp password|
### Type: [InputPaymentCredentials](../types/InputPaymentCredentials.md)
### Example:
```php
$inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => 'string', 'tmp_password' => 'bytes'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputPaymentCredentialsSaved", "id": "string", "tmp_password": {"_": "bytes", "bytes":"base64 encoded bytes"}}
```
Or, if you're into Lua:
```lua
inputPaymentCredentialsSaved={_='inputPaymentCredentialsSaved', id='string', tmp_password='bytes'}
```