MadelineProtoDocs/old_docs/API_docs_v97/constructors/inputPaymentCredentials.md

40 lines
800 B
Markdown
Raw Normal View History

2019-05-03 21:10:09 +02: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 |
|----------|---------------|----------|-------------|
|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}
```