Class TdApi.SetAccentColor
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetAccentColor
- Enclosing class:
- TdApi
Changes accent color and background custom emoji for the current user; for Telegram Premium users only.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionint
Identifier of the accent color to use.long
Identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes accent color and background custom emoji for the current user; for Telegram Premium users only.SetAccentColor
(int accentColorId, long backgroundCustomEmojiId) Creates a function, which changes accent color and background custom emoji for the current user; for Telegram Premium users only. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
accentColorId
public int accentColorIdIdentifier of the accent color to use. -
backgroundCustomEmojiId
public long backgroundCustomEmojiIdIdentifier of a custom emoji to be shown on the reply header and link preview background; 0 if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetAccentColor
public SetAccentColor()Default constructor for a function, which changes accent color and background custom emoji for the current user; for Telegram Premium users only.Returns
Ok
-
SetAccentColor
public SetAccentColor(int accentColorId, long backgroundCustomEmojiId) Creates a function, which changes accent color and background custom emoji for the current user; for Telegram Premium users only.Returns
Ok
- Parameters:
accentColorId
- Identifier of the accent color to use.backgroundCustomEmojiId
- Identifier of a custom emoji to be shown on the reply header and link preview 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
-