MessageVideoNote.fromJson constructor

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

Parse from a json

Implementation

factory MessageVideoNote.fromJson(Map<String, dynamic> json) =>
    MessageVideoNote(
      videoNote: VideoNote.fromJson(json['video_note']),
      isViewed: json['is_viewed'],
      isSecret: json['is_secret'],
    );