PushMessageContentVideoNote.fromJson constructor

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

Parses a PushMessageContentVideoNote from TDLib JSON.

Implementation

factory PushMessageContentVideoNote.fromJson(Map<String, dynamic> json) =>
    PushMessageContentVideoNote(
      videoNote: _readOptional(json['video_note'], VideoNote.fromJson),
      isPinned: _readBool(json['is_pinned']),
    );