ChatEventAccentColorChanged class final

ChatEventAccentColorChanged (chatEventAccentColorChanged) - child of ChatEventAction

The chat accent color or background custom emoji were changed.

Inheritance

Constructors

ChatEventAccentColorChanged({required int oldAccentColorId, required int oldBackgroundCustomEmojiId, required int newAccentColorId, required int newBackgroundCustomEmojiId})
ChatEventAccentColorChanged (chatEventAccentColorChanged) - child of ChatEventAction
const
ChatEventAccentColorChanged.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId → int?
Client ID, from which this object was received
no setterinherited
currentObjectId → String
TDLib object type for current class instance
no setteroverride
extra → dynamic
A sign from TDLib update
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
newAccentColorId → int
New identifier of chat accent color
final
newBackgroundCustomEmojiId → int
New identifier of the custom emoji; 0 if none
final
oldAccentColorId → int
Previous identifier of chat accent color
final
oldBackgroundCustomEmojiId → int
Previous identifier of the custom emoji; 0 if none
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? oldAccentColorId, int? oldBackgroundCustomEmojiId, int? newAccentColorId, int? newBackgroundCustomEmojiId}) → ChatEventAccentColorChanged
Copy model with modified properties.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → 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