ChatEventSlowModeDelayChanged.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventSlowModeDelayChanged.fromJson(Map<String, dynamic> json) =>
    ChatEventSlowModeDelayChanged(
      oldSlowModeDelay: json['old_slow_mode_delay'],
      newSlowModeDelay: json['new_slow_mode_delay'],
    );