MadelineProtoDocs/docs/API_docs/constructors/webPageAttributeTheme.md

38 lines
836 B
Markdown
Raw Normal View History

2020-03-06 12:24:14 +01:00
---
title: webPageAttributeTheme
description: webPageAttributeTheme attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: webPageAttributeTheme
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|documents|Array of [Document](../types/Document.md) | Optional|
|settings|[ThemeSettings](../types/ThemeSettings.md) | Optional|
### Type: [WebPageAttribute](../types/WebPageAttribute.md)
### Example:
```php
$webPageAttributeTheme = ['_' => 'webPageAttributeTheme', 'documents' => [Document, Document], 'settings' => ThemeSettings];
```
Or, if you're into Lua:
```lua
webPageAttributeTheme={_='webPageAttributeTheme', documents={Document}, settings=ThemeSettings}
```