UpdateMessageLiveLocationViewed.fromJson constructor

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

Parses a UpdateMessageLiveLocationViewed from TDLib JSON.

Implementation

factory UpdateMessageLiveLocationViewed.fromJson(Map<String, dynamic> json) =>
    UpdateMessageLiveLocationViewed(
      chatId: _readInt(json['chat_id']),
      messageId: _readInt(json['message_id']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );