Package it.tdlight.jni
Class TdApi.ChatEventThemeChanged
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatEventAction
it.tdlight.jni.TdApi.ChatEventThemeChanged
- Enclosing class:
- TdApi
public static class TdApi.ChatEventThemeChanged extends TdApi.ChatEventAction
The chat theme was changed. This event
shouldn't be received until chat themes
would be supported in supergroups.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
newThemeName
New chat theme name; empty if the new theme is default one.String
oldThemeName
Previous chat theme name; empty if the previous theme was default one. -
Constructor Summary
Constructors Constructor Description ChatEventThemeChanged()
The chat theme was changed.ChatEventThemeChanged(DataInput input)
ChatEventThemeChanged(String oldThemeName, String newThemeName)
The chat theme was changed. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
oldThemeName
Previous chat theme name; empty if the previous theme was default one. -
newThemeName
New chat theme name; empty if the new theme is default one. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatEventThemeChanged
public ChatEventThemeChanged()The chat theme was changed. This event shouldn't be received until chat themes would be supported in supergroups. -
ChatEventThemeChanged
The chat theme was changed. This event shouldn't be received until chat themes would be supported in supergroups.- Parameters:
oldThemeName
- String Previous chat theme name; empty if the previous theme was default one.newThemeName
- String New chat theme name; empty if the new theme is default one.
-
ChatEventThemeChanged
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-