InaccessibleMessage.fromJson constructor

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

Constructor from JSON data

Implementation

factory InaccessibleMessage.fromJson(Map<String, dynamic> json) {
  return InaccessibleMessage(
    chat: Chat.fromJson(json['chat']),
    messageId: json['message_id'],
    date: json['date'],
  );
}