MadelineProtoDocs/old_docs/API_docs_v40/constructors/webPageAttributeTheme.md
2020-06-16 17:50:25 +02:00

863 B

title description image
webPageAttributeTheme Page theme https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: webPageAttributeTheme

Back to constructors index

Page theme

Attributes:

Name Type Required Description
documents Array of Document Optional Theme files
settings ThemeSettings Optional Theme settings

Type: WebPageAttribute

Example:

$webPageAttributeTheme = ['_' => 'webPageAttributeTheme', 'documents' => [Document, Document], 'settings' => ThemeSettings];

Or, if you're into Lua:

webPageAttributeTheme={_='webPageAttributeTheme', documents={Document}, settings=ThemeSettings}