UpdateChatRemovedFromList.fromJson constructor

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

Parses a UpdateChatRemovedFromList from TDLib JSON.

Implementation

factory UpdateChatRemovedFromList.fromJson(Map<String, dynamic> json) =>
    UpdateChatRemovedFromList(
      chatId: _readInt(json['chat_id']),
      chatList: _readObject(json['chat_list'], ChatList.fromJson),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );