SetAccentColor class final
SetAccentColor (setAccentColor) - TDLib function
Changes accent color and background custom emoji for the current user; for Telegram Premium users only.
- 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.
Ok is returned on completion.
- Inheritance
-
- Object
- TdFunction
- SetAccentColor
Constructors
- SetAccentColor({required int accentColorId, required int backgroundCustomEmojiId})
-
SetAccentColor (setAccentColor) - TDLib function
const
Properties
- accentColorId → int
-
Identifier of the accent color to use
final
- backgroundCustomEmojiId → int
-
Identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? accentColorId, int? backgroundCustomEmojiId}) → SetAccentColor - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type