Package org.drinkless.tdlib
Class TdApi.ChatTheme
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatTheme
-
- Enclosing class:
- TdApi
public static class TdApi.ChatTheme extends TdApi.Object
Describes a chat theme.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.ThemeSettingsdarkSettingsTheme settings for a dark chat theme.TdApi.ThemeSettingslightSettingsTheme settings for a light chat theme.StringnameTheme name.
-
Constructor Summary
Constructors Constructor Description ChatTheme()Describes a chat theme.ChatTheme(String name, TdApi.ThemeSettings lightSettings, TdApi.ThemeSettings darkSettings)Describes a chat theme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
name
public String name
Theme name.
-
lightSettings
public TdApi.ThemeSettings lightSettings
Theme settings for a light chat theme.
-
darkSettings
public TdApi.ThemeSettings darkSettings
Theme settings for a dark chat theme.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChatTheme
public ChatTheme()
Describes a chat theme.
-
ChatTheme
public ChatTheme(String name, TdApi.ThemeSettings lightSettings, TdApi.ThemeSettings darkSettings)
Describes a chat theme.- Parameters:
name- Theme name.lightSettings- Theme settings for a light chat theme.darkSettings- Theme settings for a dark chat theme.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-