MadelineProtoDocs/old_docs/API_docs_v41/constructors/webPageAttributeTheme.md

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}