ChatEventAccentColorChanged.fromJson constructor
Parses a ChatEventAccentColorChanged from TDLib JSON.
Implementation
factory ChatEventAccentColorChanged.fromJson(Map<String, dynamic> json) =>
ChatEventAccentColorChanged(
oldAccentColorId: _readInt(json['old_accent_color_id']),
oldBackgroundCustomEmojiId: _readInt(
json['old_background_custom_emoji_id'],
),
newAccentColorId: _readInt(json['new_accent_color_id']),
newBackgroundCustomEmojiId: _readInt(
json['new_background_custom_emoji_id'],
),
);