UpdateChatReadInbox.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatReadInbox.fromJson(Map<String, dynamic> json) => UpdateChatReadInbox(
  chatId: json['chat_id'],
  lastReadInboxMessageId: json['last_read_inbox_message_id'],
  unreadCount: json['unread_count'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);