Class TdApi.UpdateChatAccentColors
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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.
-
-
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
-