UpdateChatLastMessage.fromJson constructor
Parse from a json
Implementation
factory UpdateChatLastMessage.fromJson(Map<String, dynamic> json) => UpdateChatLastMessage(
chatId: json['chat_id'],
lastMessage: json['last_message'] == null ? null : Message.fromJson(json['last_message']),
positions: List<ChatPosition>.from((json['positions'] ?? []).map((item) => ChatPosition.fromJson(item)).toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);