UpdateAttachmentMenuBots.fromMap constructor
Implementation
UpdateAttachmentMenuBots.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['bots'] != null) {
bots = [];
for (var someValue in map['bots']) {
if (someValue != null) {
bots?.add(TdApiMap.fromMap(someValue) as AttachmentMenuBot);
}
}
}
}