Constructor: theme

Back to constructors index

Theme

Attributes:

Name Type Required Description
creator Bool Optional Whether the current user is the creator of this theme
default Bool Optional Whether this is the default theme
id long Yes Theme ID
access_hash long Yes Theme access hash
slug string Yes Unique theme ID
title string Yes Theme name
document Document Optional Theme
settings ThemeSettings Optional Theme settings
installs_count int Yes Installation count

Type: Theme

Example:

$theme = ['_' => 'theme', 'creator' => Bool, 'default' => Bool, 'id' => long, 'access_hash' => long, 'slug' => 'string', 'title' => 'string', 'document' => Document, 'settings' => ThemeSettings, 'installs_count' => int];

Or, if you’re into Lua:

theme={_='theme', creator=Bool, default=Bool, id=long, access_hash=long, slug='string', title='string', document=Document, settings=ThemeSettings, installs_count=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.