ChatEventMessageTtlChanged.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventMessageTtlChanged.fromJson(Map<String, dynamic> json) => ChatEventMessageTtlChanged(
  oldMessageTtl: json['old_message_ttl'],
  newMessageTtl: json['new_message_ttl'],
);