MadelineProtoDocs/old_docs/API_docs_v109/constructors/account.themes.md

41 lines
884 B
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
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}}
```