ChatEventProfileAccentColorChanged.fromJson constructor
Parses a ChatEventProfileAccentColorChanged from TDLib JSON.
Implementation
factory ChatEventProfileAccentColorChanged.fromJson(
Map<String, dynamic> json,
) => ChatEventProfileAccentColorChanged(
oldProfileAccentColorId: _readInt(json['old_profile_accent_color_id']),
oldProfileBackgroundCustomEmojiId: _readInt(
json['old_profile_background_custom_emoji_id'],
),
newProfileAccentColorId: _readInt(json['new_profile_accent_color_id']),
newProfileBackgroundCustomEmojiId: _readInt(
json['new_profile_background_custom_emoji_id'],
),
);