41 lines
899 B
Markdown
41 lines
899 B
Markdown
|
---
|
||
|
title: account.tmpPassword
|
||
|
description: Temporary payment password
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
redirect_from: /API_docs/constructors/account_tmpPassword.html
|
||
|
---
|
||
|
# Constructor: account.tmpPassword
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Temporary payment password
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password|
|
||
|
|valid\_until|[int](../types/int.md) | Yes|Validity period|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [account.TmpPassword](../types/account.TmpPassword.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}
|
||
|
|
||
|
```
|
||
|
|
||
|
|