LinkPreviewTypeDirectMessagesChat.fromJson constructor
Parses a LinkPreviewTypeDirectMessagesChat from TDLib JSON.
Implementation
factory LinkPreviewTypeDirectMessagesChat.fromJson(
Map<String, dynamic> json,
) => LinkPreviewTypeDirectMessagesChat(
photo: _readOptional(json['photo'], ChatPhoto.fromJson),
);