java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateChatAccentColors
- Enclosing class:
- TdApi
Chat accent colors have changed.
-
Field Summary
Modifier and TypeFieldDescriptionint
The new chat accent color identifier.long
The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.long
Chat identifier.static final int
Identifier uniquely determining type of the object.int
The new chat profile accent color identifier; -1 if none.long
The new identifier of a custom emoji to be shown on the profile background; 0 if none. -
Constructor Summary
ConstructorDescriptionChat accent colors have changed.UpdateChatAccentColors
(long chatId, int accentColorId, long backgroundCustomEmojiId, int profileAccentColorId, long profileBackgroundCustomEmojiId) Chat accent colors have changed.UpdateChatAccentColors
(DataInput input) Chat accent colors have 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
-
chatId
public long chatIdChat identifier. -
accentColorId
public int accentColorIdThe new chat accent color identifier. -
backgroundCustomEmojiId
public long backgroundCustomEmojiIdThe new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none. -
profileAccentColorId
public int profileAccentColorIdThe new chat profile accent color identifier; -1 if none. -
profileBackgroundCustomEmojiId
public long profileBackgroundCustomEmojiIdThe new identifier of a custom emoji to be shown on the profile background; 0 if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateChatAccentColors
public UpdateChatAccentColors()Chat accent colors have changed. -
UpdateChatAccentColors
public UpdateChatAccentColors(long chatId, int accentColorId, long backgroundCustomEmojiId, int profileAccentColorId, long profileBackgroundCustomEmojiId) Chat accent colors have changed.- Parameters:
chatId
- Chat identifier.accentColorId
- The new chat accent color identifier.backgroundCustomEmojiId
- The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.profileAccentColorId
- The new chat profile accent color identifier; -1 if none.profileBackgroundCustomEmojiId
- The new identifier of a custom emoji to be shown on the profile background; 0 if none.
-
UpdateChatAccentColors
Chat accent colors have 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()
-