41 lines
884 B
Markdown
41 lines
884 B
Markdown
|
---
|
||
|
title: account.themes
|
||
|
description: Installed themes
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
redirect_from: /API_docs/constructors/account_themes.html
|
||
|
---
|
||
|
# Constructor: account.themes
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Installed themes
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)|
|
||
|
|themes|Array of [Theme](../types/Theme.md) | Yes|Themes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [account.Themes](../types/account.Themes.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$account.themes = ['_' => 'account.themes', 'hash' => int, 'themes' => [Theme, Theme]];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
account.themes={_='account.themes', hash=int, themes={Theme}}
|
||
|
|
||
|
```
|
||
|
|
||
|
|