ChatEventBackgroundChanged.fromJson constructor
Parses a ChatEventBackgroundChanged from TDLib JSON.
Implementation
factory ChatEventBackgroundChanged.fromJson(Map<String, dynamic> json) =>
ChatEventBackgroundChanged(
oldBackground:
_readOptional(json['old_background'], ChatBackground.fromJson),
newBackground:
_readOptional(json['new_background'], ChatBackground.fromJson),
);