40 lines
800 B
Markdown
40 lines
800 B
Markdown
---
|
|
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 |
|
|
|----------|---------------|----------|-------------|
|
|
|save|[Bool](../types/Bool.md) | Optional|Save?|
|
|
|data|[DataJSON](../types/DataJSON.md) | Yes|Data|
|
|
|
|
|
|
|
|
### 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}
|
|
|
|
```
|
|
|
|
|