ChatEventIsAllHistoryAvailableToggled.fromJson constructor

ChatEventIsAllHistoryAvailableToggled.fromJson(
  1. Map<String, dynamic> json
)

Parses a ChatEventIsAllHistoryAvailableToggled from TDLib JSON.

Implementation

factory ChatEventIsAllHistoryAvailableToggled.fromJson(
  Map<String, dynamic> json,
) => ChatEventIsAllHistoryAvailableToggled(
  isAllHistoryAvailable: _readBool(json['is_all_history_available']),
);