Skip to main content

theme

Theme

type tg.Theme struct { /* ... */ }

Fields​

NameTypeRequiredDescription
Creatorbool—Whether the current user is the creator of this theme
Defaultbool—Whether this is the default theme
ForChatbool—Whether this theme is meant to be used as a chat theme
IDint64yesTheme ID
AccessHashint64yesTheme access hash
SlugstringyesUnique theme ID
TitlestringyesTheme name
DocumentDocumentClass—Theme
Settings[]ThemeSettings—Theme settings
Emoticonstring—Theme emoji
InstallsCountint—Installation count

Returned by​

References​