UpdateChatMessageTtl.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatMessageTtl.fromJson(Map<String, dynamic> json) => UpdateChatMessageTtl(
  chatId: json['chat_id'],
  messageTtl: json['message_ttl'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);