InputInlineQueryResultVoiceNote.fromMap constructor
InputInlineQueryResultVoiceNote.fromMap(
- Map<String, dynamic> map
)
Implementation
InputInlineQueryResultVoiceNote.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
id = map['id'];
title = map['title'];
voice_note_url = map['voice_note_url'];
voice_note_duration = map['voice_note_duration'];
if (map['reply_markup'] != null) {
reply_markup = TdApiMap.fromMap(map['reply_markup']) as ReplyMarkup;
}
if (map['input_message_content'] != null) {
input_message_content = TdApiMap.fromMap(map['input_message_content']) as InputMessageContent;
}
}