InputAudio.fromJson constructor
Parses a InputAudio from TDLib JSON.
Implementation
factory InputAudio.fromJson(Map<String, dynamic> json) => InputAudio(
audio: _readObject(json['audio'], InputFile.fromJson),
albumCoverThumbnail: _readOptional(
json['album_cover_thumbnail'],
InputThumbnail.fromJson,
),
duration: _readInt(json['duration']),
title: _readString(json['title']),
performer: _readString(json['performer']),
);