ChatEventHasProtectedContentToggled.fromJson constructor
Parses a ChatEventHasProtectedContentToggled from TDLib JSON.
Implementation
factory ChatEventHasProtectedContentToggled.fromJson(
Map<String, dynamic> json) =>
ChatEventHasProtectedContentToggled(
hasProtectedContent: _readBool(json['has_protected_content']),
);