create static method
UpdateAttachmentMenuBots
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "updateAttachmentMenuBots",
- String special_return_type = "update",
- List<
AttachmentMenuBot> ? bots,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static UpdateAttachmentMenuBots create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "updateAttachmentMenuBots",
String special_return_type = "update",
List<AttachmentMenuBot>? bots,
}) {
// UpdateAttachmentMenuBots updateAttachmentMenuBots = UpdateAttachmentMenuBots({
final Map updateAttachmentMenuBots_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"bots": (bots != null) ? bots.toJson() : null,
};
updateAttachmentMenuBots_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (updateAttachmentMenuBots_data_create_json.containsKey(key) == false) {
updateAttachmentMenuBots_data_create_json[key] = value;
}
});
}
return UpdateAttachmentMenuBots(updateAttachmentMenuBots_data_create_json);
}