PageBlockVoiceNote.fromMap constructor
Implementation
PageBlockVoiceNote.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['voice_note'] != null) {
voice_note = TdApiMap.fromMap(map['voice_note']) as VoiceNote;
}
if (map['caption'] != null) {
caption = TdApiMap.fromMap(map['caption']) as PageBlockCaption;
}
}