Package org.drinkless.tdlib
Class 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
FieldsModifier and TypeFieldDescriptionintIdentifier of the accent color to use.longIdentifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-