2018-12-26 02:56:50 +01:00
|
|
|
---
|
|
|
|
title: inputPaymentCredentials
|
|
|
|
description: Payment credentials
|
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: inputPaymentCredentials
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Payment credentials
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|save|[Bool](../types/Bool.md) | Optional|Save payment credential for future use|
|
|
|
|
|data|[DataJSON](../types/DataJSON.md) | Yes|Payment credentials|
|
2018-12-26 02:56:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputPaymentCredentials](../types/InputPaymentCredentials.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|