MadelineProtoDocs/old_docs/API_docs_v105/constructors/theme.md
2019-09-13 17:13:55 +02:00

1.2 KiB

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

Constructor: theme

Back to constructors index

Theme

Attributes:

Name Type Required Description
creator Bool Optional Creator?
default Bool Optional Default?
id long Yes ID
access_hash long Yes Access hash
slug string Yes Slug
title string Yes Title
document Document Optional Document
installs_count int Yes Installs count

Type: Theme

Example:

$theme = ['_' => 'theme', 'creator' => Bool, 'default' => Bool, 'id' => long, 'access_hash' => long, 'slug' => 'string', 'title' => 'string', 'document' => Document, '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, installs_count=int}