UpdateDeleteMessages.fromJson constructor
Parse from a json
Implementation
factory UpdateDeleteMessages.fromJson(Map<String, dynamic> json) => UpdateDeleteMessages(
chatId: json['chat_id'],
messageIds: List<int>.from((json['message_ids'] ?? []).map((item) => item).toList()),
isPermanent: json['is_permanent'],
fromCache: json['from_cache'],
extra: json['@extra'],
clientId: json['@client_id'],
);