MessageText.fromMap constructor
Implementation
MessageText.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['text'] != null) {
text = TdApiMap.fromMap(map['text']) as FormattedText;
}
if (map['web_page'] != null) {
web_page = TdApiMap.fromMap(map['web_page']) as WebPage;
}
}