MessageContact.fromJson constructor

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

Parses a MessageContact from TDLib JSON.

Implementation

factory MessageContact.fromJson(Map<String, dynamic> json) => MessageContact(
      contact: _readObject(json['contact'], Contact.fromJson),
    );