MessageExtendedMediaVideo.fromJson constructor

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

Parse from a json

Implementation

factory MessageExtendedMediaVideo.fromJson(Map<String, dynamic> json) =>
    MessageExtendedMediaVideo(
      video: Video.fromJson(json['video']),
      caption: FormattedText.fromJson(json['caption']),
    );