MessageAnimation.fromMap constructor
Implementation
MessageAnimation.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['animation'] != null) {
animation = TdApiMap.fromMap(map['animation']) as Animation;
}
if (map['caption'] != null) {
caption = TdApiMap.fromMap(map['caption']) as FormattedText;
}
has_spoiler = map['has_spoiler'];
is_secret = map['is_secret'];
}