java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatEventAction
it.tdlight.jni.TdApi.ChatEventProfileAccentColorChanged
- Enclosing class:
- TdApi
The chat's profile accent color or profile background custom emoji
were changed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
New identifier of chat's profile accent color; -1 if none.long
New identifier of the custom emoji; 0 if none.int
Previous identifier of chat's profile accent color; -1 if none.long
Previous identifier of the custom emoji; 0 if none. -
Constructor Summary
ConstructorsConstructorDescriptionThe chat's profile accent color or profile background custom emoji were changed.ChatEventProfileAccentColorChanged
(int oldProfileAccentColorId, long oldProfileBackgroundCustomEmojiId, int newProfileAccentColorId, long newProfileBackgroundCustomEmojiId) The chat's profile accent color or profile background custom emoji were changed.The chat's profile accent color or profile background custom emoji were changed. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
oldProfileAccentColorId
public int oldProfileAccentColorIdPrevious identifier of chat's profile accent color; -1 if none. -
oldProfileBackgroundCustomEmojiId
public long oldProfileBackgroundCustomEmojiIdPrevious identifier of the custom emoji; 0 if none. -
newProfileAccentColorId
public int newProfileAccentColorIdNew identifier of chat's profile accent color; -1 if none. -
newProfileBackgroundCustomEmojiId
public long newProfileBackgroundCustomEmojiIdNew identifier of the custom emoji; 0 if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatEventProfileAccentColorChanged
public ChatEventProfileAccentColorChanged()The chat's profile accent color or profile background custom emoji were changed. -
ChatEventProfileAccentColorChanged
public ChatEventProfileAccentColorChanged(int oldProfileAccentColorId, long oldProfileBackgroundCustomEmojiId, int newProfileAccentColorId, long newProfileBackgroundCustomEmojiId) The chat's profile accent color or profile background custom emoji were changed.- Parameters:
oldProfileAccentColorId
- Previous identifier of chat's profile accent color; -1 if none.oldProfileBackgroundCustomEmojiId
- Previous identifier of the custom emoji; 0 if none.newProfileAccentColorId
- New identifier of chat's profile accent color; -1 if none.newProfileBackgroundCustomEmojiId
- New identifier of the custom emoji; 0 if none.
-
ChatEventProfileAccentColorChanged
The chat's profile accent color or profile background custom emoji were changed.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-